Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use perf tool. I have installed ubuntu 12.04 on Pandaboard. After booting up the system, installed linux-tools. Which installed linux-tools-3.0.0-25. running the perf, gives following error.

perf_3.0.0-25 stat ls

  Error: open_counter returned with 19 (No such device). /bin/dmesg may provide additional information.

  Fatal: Not all events could be opened.

How do I fix the above problem? Did anyone get the perf to work on any ubuntu releases on Pandaboard? I can use any build if perf and cpufreq are available. I am a newbie to linux/ubuntu. Any help is appreciated.

Thank you

share|improve this question

In order to have perf tool working you should have enabled performance counter in your kernel build, then recompile kernel and place new image into proper place (depends on how you boot your system)

I am running it on my Tegra2 Harmony board without any problem after enabling the performance counters in kernel.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.