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
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_HW_PERF_EVENTS=y
CONFIG_PERF_EVENTS=y

$ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1018092

Title:
  Perf test fails on Pandaboard (3.4 TILT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/1018092/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to