xref: /linux/samples/Kconfig (revision 5bf2b19320ec31d094d7370fdf536f7fd91fd799)
1267c4025SMathieu Desnoyersmenuconfig SAMPLES
2267c4025SMathieu Desnoyers	bool "Sample kernel code"
3267c4025SMathieu Desnoyers	help
4267c4025SMathieu Desnoyers	  You can build and test sample kernel code here.
5267c4025SMathieu Desnoyers
6267c4025SMathieu Desnoyersif SAMPLES
7267c4025SMathieu Desnoyers
84a089752SMathieu Desnoyersconfig SAMPLE_TRACEPOINTS
94a089752SMathieu Desnoyers	tristate "Build tracepoints examples -- loadable modules only"
104a089752SMathieu Desnoyers	depends on TRACEPOINTS && m
114a089752SMathieu Desnoyers	help
124a089752SMathieu Desnoyers	  This build tracepoints example modules.
134a089752SMathieu Desnoyers
149cfe06f8SSteven Rostedtconfig SAMPLE_TRACE_EVENTS
1596d17980SLi Zefan	tristate "Build trace_events examples -- loadable modules only"
1696d17980SLi Zefan	depends on EVENT_TRACING && m
179cfe06f8SSteven Rostedt	help
189cfe06f8SSteven Rostedt	  This build trace event example modules.
199cfe06f8SSteven Rostedt
2040efcb05SGreg Kroah-Hartmanconfig SAMPLE_KOBJECT
21c4c01684SMichal Marek	tristate "Build kobject examples -- loadable modules only"
22c4c01684SMichal Marek	depends on m
2340efcb05SGreg Kroah-Hartman	help
2440efcb05SGreg Kroah-Hartman	  This config option will allow you to build a number of
2540efcb05SGreg Kroah-Hartman	  different kobject sample modules showing how to use kobjects,
2640efcb05SGreg Kroah-Hartman	  ksets, and ktypes properly.
2740efcb05SGreg Kroah-Hartman
2840efcb05SGreg Kroah-Hartman	  If in doubt, say "N" here.
2940efcb05SGreg Kroah-Hartman
30804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KPROBES
31804defeaSAnanth N Mavinakayanahalli	tristate "Build kprobes examples -- loadable modules only"
32804defeaSAnanth N Mavinakayanahalli	depends on KPROBES && m
33804defeaSAnanth N Mavinakayanahalli	help
34804defeaSAnanth N Mavinakayanahalli	  This build several kprobes example modules.
35804defeaSAnanth N Mavinakayanahalli
36804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KRETPROBES
37804defeaSAnanth N Mavinakayanahalli	tristate "Build kretprobes example -- loadable modules only"
38804defeaSAnanth N Mavinakayanahalli	default m
39804defeaSAnanth N Mavinakayanahalli	depends on SAMPLE_KPROBES && KRETPROBES
40804defeaSAnanth N Mavinakayanahalli
4143203993SK.Prasadconfig SAMPLE_HW_BREAKPOINT
4243203993SK.Prasad	tristate "Build kernel hardware breakpoint examples -- loadable module only"
4343203993SK.Prasad	depends on HAVE_HW_BREAKPOINT && m
4443203993SK.Prasad	help
4543203993SK.Prasad	  This builds kernel hardware breakpoint example modules.
4643203993SK.Prasad
47*5bf2b193SStefani Seiboldconfig SAMPLE_KFIFO
48*5bf2b193SStefani Seibold	tristate "Build kfifo examples -- loadable modules only"
49*5bf2b193SStefani Seibold	depends on m
50*5bf2b193SStefani Seibold	help
51*5bf2b193SStefani Seibold	  This config option will allow you to build a number of
52*5bf2b193SStefani Seibold	  different kfifo sample modules showing how to use the
53*5bf2b193SStefani Seibold	  generic kfifo API.
54*5bf2b193SStefani Seibold
55*5bf2b193SStefani Seibold	  If in doubt, say "N" here.
56*5bf2b193SStefani Seibold
57267c4025SMathieu Desnoyersendif # SAMPLES
58