Where Do I get Source package for Perf tool

10,156

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

Share:
10,156
Ram
Author by

Ram

Updated on September 18, 2022

Comments

  • Ram
    Ram over 1 year

    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 ??

  • Ram
    Ram over 10 years
    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
  • Thomas Nyman
    Thomas Nyman over 10 years
    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).