Config.in 1.5 KB

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