Kconfig 1.0 KB

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