1config BR2_PACKAGE_LTTNG_MODULES 2 bool "lttng-modules" 3 depends on BR2_LINUX_KERNEL 4 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 5 help 6 Linux kernel modules for the LTTng 2.x kernel tracing 7 infrastructure. 8 9 Make sure your target kernel has the following config 10 options enabled: 11 12 * CONFIG_MODULES: loadable module support (not strictly 13 required when built into the kernel) 14 * CONFIG_KALLSYMS: this is necessary until the few 15 required missing symbols are exported to GPL 16 modules from mainline 17 * CONFIG_HIGH_RES_TIMERS: needed for LTTng 2.x 18 clock source 19 * CONFIG_TRACEPOINTS: kernel tracepoint instrumentation 20 (enabled as a side-effect of any of the 21 perf/ftrace/blktrace instrumentation features) 22 * CONFIG_KPROBES (5.7+): use kallsyms for kernel 5.7 and 23 newer. 24 25 The following kernel configuration options will 26 affect the features available from LTTng: 27 28 * CONFIG_HAVE_SYSCALL_TRACEPOINTS: system call tracing 29 * CONFIG_PERF_EVENTS: performance counters 30 * CONFIG_EVENT_TRACING: needed to allow block layer tracing 31 * CONFIG_KPROBES: dynamic probes 32 * CONFIG_KRETPROBES: dynamic function entry/return probes 33 * CONFIG_KALLSYMS_ALL: state dump of mapping between block 34 device number and name 35 36 http://lttng.org 37 38comment "lttng-modules needs a Linux kernel to be built" 39 depends on !BR2_LINUX_KERNEL 40 41comment "lttng-modules needs a toolchain w/ headers >= 3.0" 42 depends on BR2_LINUX_KERNEL 43 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 44