buildrootschalter/package/perf/Config.in
Thomas Petazzoni d82f5cb94a perf: new package
This patch adds a new package that allows to build the 'perf'
userspace tool that comes in the tools/perf directory of the kernel
sources.

It is an alternative proposal to the one done by Kaiwan Billimoria
<kaiwan.billimoria@gmail.com>, in that it creates the package in
package/perf/. It therefore properly integrates with the Buildroot
package infrastructure.

Of course, the package depends on the Linux kernel to be built by
Buildroot, in order to get Perf sources matching the version of the
kernel that will be executed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-07 21:37:57 +01:00

23 lines
874 B
Plaintext

config BR2_PACKAGE_PERF
bool "perf"
depends on BR2_LINUX_KERNEL
depends on BR2_LARGEFILE
help
perf (sometimes "Perf Events" or perf tools, originally
"Performance Counters for Linux") - is a performance
analyzing tool in Linux, available from kernel version
2.6.31. User-space controlling utility, called 'perf' has
git-like interface with subcommands. It is capable of
statistical profiling of entire system (both kernel and user
code), single CPU or severals threads.
This package builds and install the userspace 'perf'
command. It is up to the user to ensure that the kernel
configuration has all suitable options enable to allow a
proper operation of 'perf'.
https://perf.wiki.kernel.org/
comment "perf only available if Linux kernel is enabled, and requires largefile support"
depends on !BR2_LINUX_KERNEL || !BR2_LARGEFILE