Add check for KALLSYMS_ALL in syscall extraction script
[lttng-modules.git] / instrumentation / syscalls / README
CommitLineData
5fee13fd
MD
1LTTng system call tracing
2
31) lttng-syscall-extractor
4
5You need to build a kernel with CONFIG_FTRACE_SYSCALLS=y for extraction. Apply
6the linker patch to get your kernel to keep the system call metadata after boot.
7Then build and load the LTTng syscall extractor module. The module will fail to
8load (this is expected). See the dmesg output for system call metadata.
9
102) Generate system call TRACE_EVENT().
11
12Take the dmesg metadata and feed it to lttng-syscalls-generate-headers.sh, e.g.,
13from the instrumentation/syscalls directory:
14
15sh lttng-syscalls-generate-headers.sh 3.0.4 x86-64-syscalls-3.0.4
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.023711 seconds and 4 git commands to generate.