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?

1 Answer 1

2

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

5
  • which version kernel comes with perf 3.4.25? Commented Sep 27, 2013 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. Commented Sep 27, 2013 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. Commented Sep 27, 2013 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. Commented Sep 27, 2013 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. Commented Mar 3, 2014 at 12:54

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.