Perf tool on debian with experimental kernel.

June 13, 2013

If you are running an experimental debian kernel the perf tool isn’t working out of the box. If you run the perf command it will tell you to install the package linux-tools-<kernel-version> which is nonexisting for experimental kernels. The solution is to manually install the perf tool.

Compiling perf is straightforward, use apt-get source <kernel-package> to download the source for your running kernel. Then goto the directory tools/perf and do a make install.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: