I'm trying to profile a program using perf stat
. Unfortunately, I get <not supported>
for all the hardware events. How do I set things up so that it supports hardware events?
Do I need to install something else or change some setting? I'm running Ubuntu 12.04.