Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_MARKERS
  8. tristate "Build markers examples -- loadable modules only"
  9. depends on MARKERS && m
  10. help
  11. This build markers example modules.
  12. config SAMPLE_TRACEPOINTS
  13. tristate "Build tracepoints examples -- loadable modules only"
  14. depends on TRACEPOINTS && m
  15. help
  16. This build tracepoints example modules.
  17. config SAMPLE_TRACE_EVENTS
  18. tristate "Build trace_events examples -- loadable modules only"
  19. depends on EVENT_TRACING && m
  20. help
  21. This build trace event example modules.
  22. config SAMPLE_KOBJECT
  23. tristate "Build kobject examples -- loadable modules only"
  24. depends on m
  25. help
  26. This config option will allow you to build a number of
  27. different kobject sample modules showing how to use kobjects,
  28. ksets, and ktypes properly.
  29. If in doubt, say "N" here.
  30. config SAMPLE_KPROBES
  31. tristate "Build kprobes examples -- loadable modules only"
  32. depends on KPROBES && m
  33. help
  34. This build several kprobes example modules.
  35. config SAMPLE_KRETPROBES
  36. tristate "Build kretprobes example -- loadable modules only"
  37. default m
  38. depends on SAMPLE_KPROBES && KRETPROBES
  39. endif # SAMPLES