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 needs a toolchain w/ largefile"
	depends on !BR2_LINUX_KERNEL || !BR2_LARGEFILE
