2008-04-24 18:54:29 +02:00
|
|
|
config BR2_PACKAGE_OPROFILE
|
|
|
|
bool "oprofile"
|
2013-10-09 23:30:42 +02:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2008-04-24 18:54:29 +02:00
|
|
|
select BR2_PACKAGE_POPT
|
2010-12-31 12:39:04 +01:00
|
|
|
select BR2_PACKAGE_BINUTILS
|
2013-03-21 10:03:17 +01:00
|
|
|
select BR2_PACKAGE_LIBPFM4 if BR2_powerpc
|
2009-01-26 20:19:10 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2013-12-22 19:31:28 +01:00
|
|
|
depends on !BR2_aarch64 && !BR2_nios2 # binutils
|
2013-12-30 11:00:07 +01:00
|
|
|
depends on !BR2_xtensa
|
2013-12-03 20:27:18 +01:00
|
|
|
# libpfm4 is needed on PowerPC, and requires thread support
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc
|
2008-04-24 18:54:29 +02:00
|
|
|
help
|
|
|
|
OProfile is a system-wide profiler for Linux systems,
|
|
|
|
capable of profiling all running code at low overhead.
|
|
|
|
OProfile is released under the GNU GPL.
|
|
|
|
|
|
|
|
It consists of a kernel driver and a daemon for collecting
|
|
|
|
sample data, and several post-profiling tools for turning
|
|
|
|
data into information.
|
|
|
|
|
|
|
|
OProfile leverages the hardware performance counters of the
|
|
|
|
CPU to enable profiling of a wide variety of interesting
|
|
|
|
statistics, which can also be used for basic time-spent
|
|
|
|
profiling. All code is profiled: hardware and software
|
|
|
|
interrupt handlers, kernel modules, the kernel, shared
|
2008-08-04 21:07:05 +02:00
|
|
|
libraries, and applications.
|
2009-01-26 20:19:10 +01:00
|
|
|
|
2013-10-13 16:55:32 +02:00
|
|
|
comment "oprofile needs a toolchain w/ C++"
|
2013-12-30 11:00:07 +01:00
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on !BR2_aarch64 && !BR2_nios2 && !BR2_xtensa
|
2009-01-26 20:19:10 +01:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
2013-12-03 20:27:18 +01:00
|
|
|
|
|
|
|
comment "oprofile needs a toolchain w/ threads on PPC"
|
|
|
|
depends on BR2_USE_MMU && BR2_powerpc
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|