Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # samples/Kconfig
  2. menuconfig SAMPLES
  3. bool "Sample kernel code"
  4. help
  5. You can build and test sample kernel code here.
  6. if SAMPLES
  7. config SAMPLE_TRACEPOINTS
  8. tristate "Build tracepoints examples -- loadable modules only"
  9. depends on TRACEPOINTS && m
  10. help
  11. This build tracepoints example modules.
  12. config SAMPLE_TRACE_EVENTS
  13. tristate "Build trace_events examples -- loadable modules only"
  14. depends on EVENT_TRACING && m
  15. help
  16. This build trace event example modules.
  17. config SAMPLE_KOBJECT
  18. tristate "Build kobject examples -- loadable modules only"
  19. depends on m
  20. help
  21. This config option will allow you to build a number of
  22. different kobject sample modules showing how to use kobjects,
  23. ksets, and ktypes properly.
  24. If in doubt, say "N" here.
  25. config SAMPLE_KPROBES
  26. tristate "Build kprobes examples -- loadable modules only"
  27. depends on KPROBES && m
  28. help
  29. This build several kprobes example modules.
  30. config SAMPLE_KRETPROBES
  31. tristate "Build kretprobes example -- loadable modules only"
  32. default m
  33. depends on SAMPLE_KPROBES && KRETPROBES
  34. endif # SAMPLES