And afterwards you can get the package that contains perf like this:
$ dpkg -S $(which perf) linux-tools-common: /usr/bin/perf $ apt-get source linux-tools-common
For the linux-tools source package that fits to your running kernel, do: apt-get source linux-tools-$(uname -r)
And afterwards you can get the package that contains perf like this:
$ dpkg -S $(which perf)
linux-tools-common: /usr/bin/perf
$ apt-get source linux-tools-common
For the linux-tools source package that fits to your running kernel, do:
apt-get source linux-tools-$(uname -r)