Linux – How to Compile, Install, and Run Tools Inside Kernel/Tools

compilingkernellinux

There are some tools in side the kernel,

<kernel source root directory>/tools

perf is one of them.

In ubuntu I think the tools inside this folder is available as package linux-tools

How can I compile it form source and install it and run it?

Best Answer

what's wrong with the following?

make -C <kernel source root directory>/tools/perf
Related Question