24 lines
836 B
Plaintext
24 lines
836 B
Plaintext
config BR2_PACKAGE_TRACE_CMD
|
|
bool "trace-cmd"
|
|
# pthread_setaffinity_np
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS # dlopen()
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libtracefs
|
|
select BR2_PACKAGE_LIBTRACEEVENT
|
|
select BR2_PACKAGE_LIBTRACEFS
|
|
help
|
|
Command line reader for ftrace.
|
|
|
|
To use this profiling tool, you should enable ftrace in your
|
|
kernel configuration. This command collect traces on your
|
|
target. You can analyse these traces on the target or on
|
|
the host via the gui "kernel shark"
|
|
|
|
http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git
|
|
|
|
comment "trace-cmd needs a toolchain w/ threads, NPTL, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|