Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_KOBJECT
  12. tristate "Build kobject examples -- loadable modules only"
  13. depends on m
  14. help
  15. This config option will allow you to build a number of
  16. different kobject sample modules showing how to use kobjects,
  17. ksets, and ktypes properly.
  18. If in doubt, say "N" here.
  19. config SAMPLE_KPROBES
  20. tristate "Build kprobes examples -- loadable modules only"
  21. depends on KPROBES && m
  22. help
  23. This build several kprobes example modules.
  24. config SAMPLE_KRETPROBES
  25. tristate "Build kretprobes example -- loadable modules only"
  26. default m
  27. depends on SAMPLE_KPROBES && KRETPROBES
  28. config SAMPLE_HW_BREAKPOINT
  29. tristate "Build kernel hardware breakpoint examples -- loadable module only"
  30. depends on HAVE_HW_BREAKPOINT && m
  31. help
  32. This builds kernel hardware breakpoint example modules.
  33. config SAMPLE_KFIFO
  34. tristate "Build kfifo examples -- loadable modules only"
  35. depends on m
  36. help
  37. This config option will allow you to build a number of
  38. different kfifo sample modules showing how to use the
  39. generic kfifo API.
  40. If in doubt, say "N" here.
  41. config SAMPLE_KDB
  42. tristate "Build kdb command example -- loadable modules only"
  43. depends on KGDB_KDB && m
  44. help
  45. Build an example of how to dynamically add the hello
  46. command to the kdb shell.
  47. config SAMPLE_RPMSG_CLIENT
  48. tristate "Build rpmsg client sample -- loadable modules only"
  49. depends on RPMSG && m
  50. help
  51. Build an rpmsg client sample driver, which demonstrates how
  52. to communicate with an AMP-configured remote processor over
  53. the rpmsg bus.
  54. config SAMPLE_LIVEPATCH
  55. tristate "Build live patching sample -- loadable modules only"
  56. depends on LIVEPATCH && m
  57. help
  58. Builds a sample live patch that replaces the procfs handler
  59. for /proc/cmdline to print "this has been live patched".
  60. config SAMPLE_CONFIGFS
  61. tristate "Build configfs patching sample -- loadable modules only"
  62. depends on CONFIGFS_FS && m
  63. help
  64. Builds a sample configfs interface.
  65. endif # SAMPLES