forked from ktap/ktap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
32 lines (29 loc) · 1.23 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
config KTAP
tristate "a programable dynamic tracing tool for Linux"
depends on PERF_EVENTS && EVENT_TRACING
default n
help
ktap is a new 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 allow
users to tune, troubleshoot and extend kernel and application.
It's similar with Linux Systemtap and Solaris Dtrace.
ktap have different design principles from Linux mainstream
dynamic tracing language in that it's based on bytecode,
so it doesn't depend upon GCC, doesn't require compiling
kernel module for each script, safe to use in production
environment, fulfilling the embedded ecosystem's tracing needs.
See ktap tutorial for more information:
http://www.ktap.org/doc/tutorial.html
config KTAP_FFI
tristate "FFI support for ktap"
depends on KTAP
depends on X86_64
default n
help
This option brings FFI support to ktap. With FFI enabled ktap,
users can call into native kernel C function directly in ktap
script. Except for a new cdef keyword, this option also adds
a ffi module which exports helper functions like ffi.new and
ffi.sizeof.