Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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"
  24. help
  25. This config option will allow you to build a number of
  26. different kobject sample modules showing how to use kobjects,
  27. ksets, and ktypes properly.
  28. If in doubt, say "N" here.
  29. config SAMPLE_KPROBES
  30. tristate "Build kprobes examples -- loadable modules only"
  31. depends on KPROBES && m
  32. help
  33. This build several kprobes example modules.
  34. config SAMPLE_KRETPROBES
  35. tristate "Build kretprobes example -- loadable modules only"
  36. default m
  37. depends on SAMPLE_KPROBES && KRETPROBES
  38. endif # SAMPLES