Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. config SAMPLE_KDB
  47. tristate "Build kdb command example -- loadable modules only"
  48. depends on KGDB_KDB && m
  49. help
  50. Build an example of how to dynamically add the hello
  51. command to the kdb shell.
  52. config SAMPLE_HIDRAW
  53. bool "Build simple hidraw example"
  54. depends on HIDRAW && HEADERS_CHECK
  55. help
  56. Build an example of how to use hidraw from userspace.
  57. endif # SAMPLES