1 config BR2_PACKAGE_OPROFILE
3 depends on BR2_USE_MMU # fork()
4 select BR2_PACKAGE_POPT
5 select BR2_PACKAGE_BINUTILS
6 select BR2_PACKAGE_LIBPFM4 if BR2_powerpc
7 depends on BR2_INSTALL_LIBSTDCPP
8 depends on !BR2_aarch64 && !BR2_nios2 # binutils
9 depends on BR2_USE_WCHAR # binutils
10 depends on !BR2_xtensa
11 # libpfm4 is needed on PowerPC, and requires thread support
12 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_powerpc
14 OProfile is a system-wide profiler for Linux systems,
15 capable of profiling all running code at low overhead.
16 OProfile is released under the GNU GPL.
18 It consists of a kernel driver and a daemon for collecting
19 sample data, and several post-profiling tools for turning
20 data into information.
22 OProfile leverages the hardware performance counters of the
23 CPU to enable profiling of a wide variety of interesting
24 statistics, which can also be used for basic time-spent
25 profiling. All code is profiled: hardware and software
26 interrupt handlers, kernel modules, the kernel, shared
27 libraries, and applications.
29 comment "oprofile needs a toolchain w/ C++, wchar"
30 depends on BR2_USE_MMU
31 depends on !BR2_aarch64 && !BR2_nios2 && !BR2_xtensa
32 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
34 comment "oprofile needs a toolchain w/ NPTL on PPC"
35 depends on BR2_USE_MMU && BR2_powerpc
36 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL