0

By installing perf using

sudo apt-get install linux-tools-common
sudo apt-get install linux-tools-3.2.0.23

gave me

perf version 3.2.14

How can I install perf 3.4.25?

Is it related to kernel version?

I found source here http://lxr.linux.no/#linux+v2.6.39/tools/perf/ but there is no way to download it.

which version kernel comes with perf 3.4.25?

2

The perf tool is directly shipped with the kernel and located under the tools/perf/ directory.

  • which version kernel comes with perf 3.4.25? – limovala Sep 27 '13 at 10:45
  • The perf version seems to correspond with the kernel version, so you need kernel 3.4.25. Although it is still unclear why you need that exact version. – scai Sep 27 '13 at 11:27
  • I need to test that specific version, but when I installed linux-tools-3.2.0.23 in kernel 3.2.0.23 I got perf version 3.2.14. – limovala Sep 27 '13 at 11:57
  • The tools/perf/util/ directory contains a script called PERF-VERSION-GEN which uses git and a little magic to generate the version string. – scai Sep 27 '13 at 12:09
  • 1
    Again, why do you need that exact version? It is tied to the kernel version, so you can't (meanigfully) test a new version on an old kernel/system. – vonbrand Mar 3 '14 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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