1267c4025SMathieu Desnoyers# samples/Kconfig 2267c4025SMathieu Desnoyers 3267c4025SMathieu Desnoyersmenuconfig SAMPLES 4267c4025SMathieu Desnoyers bool "Sample kernel code" 5267c4025SMathieu Desnoyers help 6267c4025SMathieu Desnoyers You can build and test sample kernel code here. 7267c4025SMathieu Desnoyers 8267c4025SMathieu Desnoyersif SAMPLES 9267c4025SMathieu Desnoyers 1031155bc0SMathieu Desnoyersconfig SAMPLE_MARKERS 1131155bc0SMathieu Desnoyers tristate "Build markers examples -- loadable modules only" 1231155bc0SMathieu Desnoyers depends on MARKERS && m 1331155bc0SMathieu Desnoyers help 1431155bc0SMathieu Desnoyers This build markers example modules. 15267c4025SMathieu Desnoyers 164a089752SMathieu Desnoyersconfig SAMPLE_TRACEPOINTS 174a089752SMathieu Desnoyers tristate "Build tracepoints examples -- loadable modules only" 184a089752SMathieu Desnoyers depends on TRACEPOINTS && m 194a089752SMathieu Desnoyers help 204a089752SMathieu Desnoyers This build tracepoints example modules. 214a089752SMathieu Desnoyers 229cfe06f8SSteven Rostedtconfig SAMPLE_TRACE_EVENTS 2396d17980SLi Zefan tristate "Build trace_events examples -- loadable modules only" 2496d17980SLi Zefan depends on EVENT_TRACING && m 259cfe06f8SSteven Rostedt help 269cfe06f8SSteven Rostedt This build trace event example modules. 279cfe06f8SSteven Rostedt 2840efcb05SGreg Kroah-Hartmanconfig SAMPLE_KOBJECT 2940efcb05SGreg Kroah-Hartman tristate "Build kobject examples" 3040efcb05SGreg Kroah-Hartman help 3140efcb05SGreg Kroah-Hartman This config option will allow you to build a number of 3240efcb05SGreg Kroah-Hartman different kobject sample modules showing how to use kobjects, 3340efcb05SGreg Kroah-Hartman ksets, and ktypes properly. 3440efcb05SGreg Kroah-Hartman 3540efcb05SGreg Kroah-Hartman If in doubt, say "N" here. 3640efcb05SGreg Kroah-Hartman 37804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KPROBES 38804defeaSAnanth N Mavinakayanahalli tristate "Build kprobes examples -- loadable modules only" 39804defeaSAnanth N Mavinakayanahalli depends on KPROBES && m 40804defeaSAnanth N Mavinakayanahalli help 41804defeaSAnanth N Mavinakayanahalli This build several kprobes example modules. 42804defeaSAnanth N Mavinakayanahalli 43804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KRETPROBES 44804defeaSAnanth N Mavinakayanahalli tristate "Build kretprobes example -- loadable modules only" 45804defeaSAnanth N Mavinakayanahalli default m 46804defeaSAnanth N Mavinakayanahalli depends on SAMPLE_KPROBES && KRETPROBES 47804defeaSAnanth N Mavinakayanahalli 48*43203993SK.Prasadconfig SAMPLE_HW_BREAKPOINT 49*43203993SK.Prasad tristate "Build kernel hardware breakpoint examples -- loadable module only" 50*43203993SK.Prasad depends on HAVE_HW_BREAKPOINT && m 51*43203993SK.Prasad help 52*43203993SK.Prasad This builds kernel hardware breakpoint example modules. 53*43203993SK.Prasad 54267c4025SMathieu Desnoyersendif # SAMPLES 5540efcb05SGreg Kroah-Hartman 56