1*4882a593Smuzhiyunconfig BR2_PACKAGE_KTAP 2*4882a593Smuzhiyun bool "ktap" 3*4882a593Smuzhiyun depends on BR2_LINUX_KERNEL 4*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS 5*4882a593Smuzhiyun help 6*4882a593Smuzhiyun ktap is a script-based dynamic tracing tool for Linux 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun It uses a scripting language and lets users trace the Linux 9*4882a593Smuzhiyun kernel dynamically. ktap is designed to give operational 10*4882a593Smuzhiyun insights with interoperability that allows users to tune, 11*4882a593Smuzhiyun troubleshoot and extend kernel and application. 12*4882a593Smuzhiyun It's similar to Linux Systemtap and Solaris Dtrace. 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun ktap doesn't support kernels older than 3.1. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun To be able to resolve symbols in DSO and for sdt, you need to 17*4882a593Smuzhiyun enable elfutils. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun Your kernel must have CONFIG_EVENT_TRACING, 20*4882a593Smuzhiyun CONFIG_PERF_EVENTS, and CONFIG_DEBUG_FS enabled to compile. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun Buildroot automatically enables these in the kernel 23*4882a593Smuzhiyun configuration. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun http://www.ktap.org 26*4882a593Smuzhiyun 27*4882a593Smuzhiyuncomment "ktap needs a Linux kernel to be built" 28*4882a593Smuzhiyun depends on !BR2_LINUX_KERNEL 29*4882a593Smuzhiyun 30*4882a593Smuzhiyuncomment "ktap needs a toolchain w/ threads" 31*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS 32