07203d78c2
This commit adds a new package for the trace-cmd tool. This tool is a command line front end of ftrace. It collects traces on your target. You can analyse these traces on the target or on the host via the gui "kernel shark". [Thomas: use TARGET_CONFIGURE_OPTS, define _GNU_SOURCE to get O_CLOEXEC definition on uClibc, add thread and largefile dependencies.] Signed-off-by: Pierre Floury <pierre.floury@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17 lines
578 B
Plaintext
17 lines
578 B
Plaintext
config BR2_PACKAGE_TRACE_CMD
|
|
bool "trace-cmd"
|
|
depends on BR2_LARGEFILE
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
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 with largefile and threads support"
|
|
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|