12a9c3f295
Add a check for BR2_PACKAGE_ELFUTILS; if this is enabled, then try to link against libelf from the elfutils package. This allows ktap to resolve symbols in userspace. The new FFI functionality in ktap is not exposed, as it currently only supports x86_64... Signed-off-by: Anders Darander <anders@chargestorm.se> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
963 B
Plaintext
32 lines
963 B
Plaintext
config BR2_PACKAGE_KTAP
|
|
bool "ktap"
|
|
depends on BR2_LINUX_KERNEL
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
ktap is a script-based dynamic tracing tool for Linux
|
|
|
|
It uses a scripting language and lets users trace the Linux kernel
|
|
dynamically. ktap is designed to give operational insights with
|
|
interoperability that allows users to tune, troubleshoot and extend
|
|
kernel and application. It's similar to Linux Systemtap and
|
|
Solaris Dtrace.
|
|
|
|
ktap doesn't support kernels older than 3.1.
|
|
|
|
To be able to resolve symbols in DSO and for sdt, you need to enable
|
|
elfutils.
|
|
|
|
Your kernel must have CONFIG_EVENT_TRACING,
|
|
CONFIG_PERF_EVENTS, and CONFIG_DEBUG_FS enabled to compile.
|
|
|
|
Buildroot automatically enables these in the kernel configuration.
|
|
|
|
http://www.ktap.org
|
|
|
|
comment "ktap needs a Linux kernel to be built"
|
|
depends on !BR2_LINUX_KERNEL
|
|
|
|
comment "ktap needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|