I am looking for source package of perf tool ,which I wanted to compile for ARM Linux ,I have already set up the cross compile tool chain.

I have compiled the the oprofile and got it source(Oprofile-0.9.8.tar.bz2) from sourceforge.net.

Can anyone point me to perf tool source ??

1 Answer 1


The source code for perf is included in the Linux kernel source tree under tools/perf.

  • Thanks Thomas but I can get this source in tar.bz2 format because my build infrastructure will automatically fetch this source from some repository like for Oprofile it fetched from sourceforge.net
    – Ram
    Commented Nov 1, 2013 at 8:16
  • Sure, you can get either xz or bz2 compressed patches or tarballs of the complete kernel source at kernel.org, or you could use the kernel sources provided by your target distribution (if there is one). Commented Nov 1, 2013 at 9:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .