You have been subscribed to a public bug: On Pandaboard perf_event_open syscall fails with errno = 19 (ENODEV) when trying to open perf counter with type PERF_TYPE_HARDWARE.
The code to reproduce the error is attached. I checked that it runs successfully on Beagleboard, Sandy Bridge, Bulldozer systems, and even on Pandaboard if I request software events (e.g. type = PERF_TYPE_SOFTWARE, config = PERF_COUNT_SW_CPU_CLOCK). Linux Kernel (uname -a): Linux pandaboard 3.2.0-1418-omap4 #25-Ubuntu SMP PREEMPT Fri Aug 31 18:41:31 UTC 2012 armv7l armv7l armv7l GNU/Linux Distribution: Ubuntu Server 12.04 Loaded kernel modules (lsmod): cpufreq_powersave, cpufreq_conservative, cpufreq_userspace, cpufreq_ondemand, dm_crypt, wl12xx_sdio, wl12xx, mac80211, twl6040_vibra, ff_memless, cfg80211, leds_gpio Kernel log (dmesg): contains message "hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available" /proc/cpuinfo content: Processor : ARMv7 Processor rev 10 (v7l) processor : 0 BogoMIPS : 696.39 processor : 1 BogoMIPS : 681.68 Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 10 Hardware : OMAP4 Panda board Revision : 0020 Serial : 0000000000000000 ** Affects: linaro-landing-team-ti Importance: Undecided Status: New ** Tags: kernel pandaboard -- perf_event_open syscall fails for HW counters on Pandaboard https://bugs.launchpad.net/bugs/1048056 You received this bug notification because you are a member of TI OMAP Developers, which is subscribed to linaro-landing-team-ti. _______________________________________________ Mailing list: https://launchpad.net/~tiomap-dev Post to : tiomap-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~tiomap-dev More help : https://help.launchpad.net/ListHelp