2012-01-31 20:40:01 +01:00
|
|
|
config BR2_PACKAGE_LTTNG_MODULES
|
|
|
|
bool "lttng-modules"
|
|
|
|
depends on BR2_LINUX_KERNEL
|
|
|
|
help
|
2015-03-06 18:35:54 +01:00
|
|
|
Linux kernel modules for the LTTng 2.x kernel tracing
|
2012-01-31 20:40:01 +01:00
|
|
|
infrastructure.
|
|
|
|
|
2015-03-06 18:35:54 +01:00
|
|
|
Make sure your target kernel has the following config
|
|
|
|
options enabled:
|
2012-01-31 20:40:01 +01:00
|
|
|
|
2015-03-06 18:35:54 +01:00
|
|
|
* CONFIG_MODULES: loadable module support
|
|
|
|
* CONFIG_KALLSYMS: this is necessary until the few
|
|
|
|
required missing symbols are exported to GPL
|
|
|
|
modules from mainline
|
|
|
|
* CONFIG_HIGH_RES_TIMERS: needed for LTTng 2.x
|
|
|
|
clock source
|
|
|
|
* CONFIG_TRACEPOINTS: kernel tracepoint instrumentation
|
|
|
|
(enabled as a side-effect of any of the
|
|
|
|
perf/ftrace/blktrace instrumentation features)
|
|
|
|
|
|
|
|
The following kernel configuration options will
|
|
|
|
affect the features available from LTTng:
|
|
|
|
|
|
|
|
* CONFIG_HAVE_SYSCALL_TRACEPOINTS: system call tracing
|
|
|
|
* CONFIG_PERF_EVENTS: performance counters
|
|
|
|
* CONFIG_EVENT_TRACING: needed to allow block layer tracing
|
|
|
|
* CONFIG_KPROBES: dynamic probes
|
|
|
|
* CONFIG_KRETPROBES: dynamic function entry/return probes
|
|
|
|
* CONFIG_KALLSYMS_ALL: state dump of mapping between block
|
|
|
|
device number and name
|
|
|
|
|
|
|
|
The packaged version is compatible with Linux 2.6.38 to 3.16.
|
2012-01-31 20:40:01 +01:00
|
|
|
|
|
|
|
http://lttng.org
|
2013-05-11 00:59:01 +02:00
|
|
|
|
2013-12-15 13:20:39 +01:00
|
|
|
comment "lttng-modules needs a Linux kernel to be built"
|
2013-05-11 00:59:01 +02:00
|
|
|
depends on !BR2_LINUX_KERNEL
|