Improve documentation of the syscall extractor script
[lttng-modules.git] / instrumentation / syscalls / README
... / ...
CommitLineData
1LTTng system call tracing
2
31) lttng-syscall-extractor
4
5You need to build a kernel with CONFIG_FTRACE_SYSCALLS=y and
6CONFIG_KALLSYMS_ALL=y for extraction. Apply the linker patch to get your
7kernel to keep the system call metadata after boot. Then build and load
8the LTTng syscall extractor module. The module will fail to load (this
9is expected). See the dmesg output for system call metadata.
10
112) Generate system call TRACE_EVENT().
12
13Take the dmesg metadata and feed it to lttng-syscalls-generate-headers.sh, e.g.,
14from the instrumentation/syscalls directory. See the script header for
15usage example. It should be run for both the integers and pointers types.
16
17After these are created, we just need to follow the new system call additions,
18no need to regenerate the whole thing, since system calls are only appended to.
This page took 0.022447 seconds and 4 git commands to generate.