Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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_TRACE_EVENTS
  7. tristate "Build trace_events examples -- loadable modules only"
  8. depends on EVENT_TRACING && m
  9. help
  10. This build trace event example modules.
  11. config SAMPLE_TRACE_PRINTK
  12. tristate "Build trace_printk module - tests various trace_printk formats"
  13. depends on EVENT_TRACING && m
  14. help
  15. This builds a module that calls trace_printk() and can be used to
  16. test various trace_printk() calls from a module.
  17. config SAMPLE_KOBJECT
  18. tristate "Build kobject examples -- loadable modules only"
  19. depends on m
  20. help
  21. This config option will allow you to build a number of
  22. different kobject sample modules showing how to use kobjects,
  23. ksets, and ktypes properly.
  24. If in doubt, say "N" here.
  25. config SAMPLE_KPROBES
  26. tristate "Build kprobes examples -- loadable modules only"
  27. depends on KPROBES && m
  28. help
  29. This build several kprobes example modules.
  30. config SAMPLE_KRETPROBES
  31. tristate "Build kretprobes example -- loadable modules only"
  32. default m
  33. depends on SAMPLE_KPROBES && KRETPROBES
  34. config SAMPLE_HW_BREAKPOINT
  35. tristate "Build kernel hardware breakpoint examples -- loadable module only"
  36. depends on HAVE_HW_BREAKPOINT && m
  37. help
  38. This builds kernel hardware breakpoint example modules.
  39. config SAMPLE_KFIFO
  40. tristate "Build kfifo examples -- loadable modules only"
  41. depends on m
  42. help
  43. This config option will allow you to build a number of
  44. different kfifo sample modules showing how to use the
  45. generic kfifo API.
  46. If in doubt, say "N" here.
  47. config SAMPLE_KDB
  48. tristate "Build kdb command example -- loadable modules only"
  49. depends on KGDB_KDB && m
  50. help
  51. Build an example of how to dynamically add the hello
  52. command to the kdb shell.
  53. config SAMPLE_RPMSG_CLIENT
  54. tristate "Build rpmsg client sample -- loadable modules only"
  55. depends on RPMSG && m
  56. help
  57. Build an rpmsg client sample driver, which demonstrates how
  58. to communicate with an AMP-configured remote processor over
  59. the rpmsg bus.
  60. config SAMPLE_LIVEPATCH
  61. tristate "Build live patching sample -- loadable modules only"
  62. depends on LIVEPATCH && m
  63. help
  64. Builds a sample live patch that replaces the procfs handler
  65. for /proc/cmdline to print "this has been live patched".
  66. config SAMPLE_CONFIGFS
  67. tristate "Build configfs patching sample -- loadable modules only"
  68. depends on CONFIGFS_FS && m
  69. help
  70. Builds a sample configfs interface.
  71. config SAMPLE_CONNECTOR
  72. tristate "Build connector sample -- loadable modules only"
  73. depends on CONNECTOR && m
  74. help
  75. When enabled, this builds both a sample kernel module for
  76. the connector interface and a user space tool to communicate
  77. with it.
  78. See also Documentation/connector/connector.txt
  79. config SAMPLE_SECCOMP
  80. tristate "Build seccomp sample code -- loadable modules only"
  81. depends on SECCOMP_FILTER && m
  82. help
  83. Build samples of seccomp filters using various methods of
  84. BPF filter construction.
  85. config SAMPLE_BLACKFIN_GPTIMERS
  86. tristate "Build blackfin gptimers sample code -- loadable modules only"
  87. depends on BLACKFIN && BFIN_GPTIMERS && m
  88. help
  89. Build samples of blackfin gptimers sample module.
  90. endif # SAMPLES