xref: /OK3568_Linux_fs/buildroot/package/lttng-modules/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LTTNG_MODULES
2*4882a593Smuzhiyun	bool "lttng-modules"
3*4882a593Smuzhiyun	depends on BR2_LINUX_KERNEL
4*4882a593Smuzhiyun	help
5*4882a593Smuzhiyun	  Linux kernel modules for the LTTng 2.x kernel tracing
6*4882a593Smuzhiyun	  infrastructure.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun	  Make sure your target kernel has the following config
9*4882a593Smuzhiyun	  options enabled:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun	    * CONFIG_MODULES: loadable module support
12*4882a593Smuzhiyun	    * CONFIG_KALLSYMS: this is necessary until the few
13*4882a593Smuzhiyun	      required missing symbols are exported to GPL
14*4882a593Smuzhiyun	      modules from mainline
15*4882a593Smuzhiyun	    * CONFIG_HIGH_RES_TIMERS: needed for LTTng 2.x
16*4882a593Smuzhiyun	      clock source
17*4882a593Smuzhiyun	    * CONFIG_TRACEPOINTS: kernel tracepoint instrumentation
18*4882a593Smuzhiyun	      (enabled as a side-effect of any of the
19*4882a593Smuzhiyun	      perf/ftrace/blktrace instrumentation features)
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	  The following kernel configuration options will
22*4882a593Smuzhiyun	  affect the features available from LTTng:
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	    * CONFIG_HAVE_SYSCALL_TRACEPOINTS: system call tracing
25*4882a593Smuzhiyun	    * CONFIG_PERF_EVENTS: performance counters
26*4882a593Smuzhiyun	    * CONFIG_EVENT_TRACING: needed to allow block layer tracing
27*4882a593Smuzhiyun	    * CONFIG_KPROBES: dynamic probes
28*4882a593Smuzhiyun	    * CONFIG_KRETPROBES: dynamic function entry/return probes
29*4882a593Smuzhiyun	    * CONFIG_KALLSYMS_ALL: state dump of mapping between block
30*4882a593Smuzhiyun	      device number and name
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun	  The packaged version is compatible with Linux 2.6.38 to 3.16.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	  http://lttng.org
35*4882a593Smuzhiyun
36*4882a593Smuzhiyuncomment "lttng-modules needs a Linux kernel to be built"
37*4882a593Smuzhiyun	depends on !BR2_LINUX_KERNEL
38