2013-12-10 12:59:41 +01:00
|
|
|
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
|
|
|
|
|
2017-07-31 15:53:48 +02:00
|
|
|
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.
|
2013-12-10 12:59:41 +01:00
|
|
|
|
|
|
|
ktap doesn't support kernels older than 3.1.
|
|
|
|
|
2017-07-31 15:53:48 +02:00
|
|
|
To be able to resolve symbols in DSO and for sdt, you need to
|
|
|
|
enable elfutils.
|
2013-12-18 19:57:03 +01:00
|
|
|
|
2013-12-10 12:59:41 +01:00
|
|
|
Your kernel must have CONFIG_EVENT_TRACING,
|
|
|
|
CONFIG_PERF_EVENTS, and CONFIG_DEBUG_FS enabled to compile.
|
|
|
|
|
2017-07-31 15:53:48 +02:00
|
|
|
Buildroot automatically enables these in the kernel
|
|
|
|
configuration.
|
2013-12-16 11:53:20 +01:00
|
|
|
|
2013-12-10 12:59:41 +01:00
|
|
|
http://www.ktap.org
|
|
|
|
|
2013-12-15 13:20:39 +01:00
|
|
|
comment "ktap needs a Linux kernel to be built"
|
2013-12-10 12:59:41 +01:00
|
|
|
depends on !BR2_LINUX_KERNEL
|
|
|
|
|
|
|
|
comment "ktap needs a toolchain w/ threads"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|