Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. menuconfig SAMPLES
  2. bool "Sample kernel code"
  3. help
  4. You can build and test sample kernel code here.
  5. if SAMPLES
  6. config SAMPLE_TRACEPOINTS
  7. tristate "Build tracepoints examples -- loadable modules only"
  8. depends on TRACEPOINTS && m
  9. help
  10. This build tracepoints example modules.
  11. config SAMPLE_TRACE_EVENTS
  12. tristate "Build trace_events examples -- loadable modules only"
  13. depends on EVENT_TRACING && m
  14. help
  15. This build trace event example modules.
  16. config SAMPLE_KOBJECT
  17. tristate "Build kobject examples -- loadable modules only"
  18. depends on m
  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. config SAMPLE_HW_BREAKPOINT
  34. tristate "Build kernel hardware breakpoint examples -- loadable module only"
  35. depends on HAVE_HW_BREAKPOINT && m
  36. help
  37. This builds kernel hardware breakpoint example modules.
  38. config SAMPLE_KFIFO
  39. tristate "Build kfifo examples -- loadable modules only"
  40. depends on m
  41. help
  42. This config option will allow you to build a number of
  43. different kfifo sample modules showing how to use the
  44. generic kfifo API.
  45. If in doubt, say "N" here.
  46. endif # SAMPLES