I am wondering the same thing as Joseph (joemp) in the #10 comment. On my Pandaboard, I see that my kernel is configured correctly, and hw perf events come up in dmesg, like so...
$ uname -a
Linux pandaboard01 3.2.0-1419-omap4 #26-Ubuntu SMP PREEMPT Wed Sep 12 14:32:40 UTC 2012 armv7l armv7l armv7l GNU/Linux
I am wondering the same thing as Joseph (joemp) in the #10 comment. On my Pandaboard, I see that my kernel is configured correctly, and hw perf events come up in dmesg, like so...
$ uname -a
Linux pandaboard01 3.2.0-1419-omap4 #26-Ubuntu SMP PREEMPT Wed Sep 12 14:32:40 UTC 2012 armv7l armv7l armv7l GNU/Linux
$ grep PERF_EVENTS /boot/config- 3.2.0-1419- omap4 HAVE_PERF_ EVENTS= y HW_PERF_ EVENTS= y PERF_EVENTS= y
CONFIG_
CONFIG_
CONFIG_
$ dmesg|grep -i perf
[ 0.072387] Initializing cgroup subsys perf_event
[ 0.164306] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
... and yet when I run a `perf stat` command I receive an error:
$ sudo perf stat -e cycles ls /
Error: open_counter returned with 19 (No such device). /bin/dmesg may provide additional information.
Fatal: Not all events could be opened.
There is nothing in dmesg.