xref: /linux/samples/Kconfig (revision 4a0897526bbc5c6ac0df80b16b8c60339e717ae2)
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
16*4a089752SMathieu Desnoyersconfig SAMPLE_TRACEPOINTS
17*4a089752SMathieu Desnoyers	tristate "Build tracepoints examples -- loadable modules only"
18*4a089752SMathieu Desnoyers	depends on TRACEPOINTS && m
19*4a089752SMathieu Desnoyers	help
20*4a089752SMathieu Desnoyers	  This build tracepoints example modules.
21*4a089752SMathieu Desnoyers
2240efcb05SGreg Kroah-Hartmanconfig SAMPLE_KOBJECT
2340efcb05SGreg Kroah-Hartman	tristate "Build kobject examples"
2440efcb05SGreg Kroah-Hartman	help
2540efcb05SGreg Kroah-Hartman	  This config option will allow you to build a number of
2640efcb05SGreg Kroah-Hartman	  different kobject sample modules showing how to use kobjects,
2740efcb05SGreg Kroah-Hartman	  ksets, and ktypes properly.
2840efcb05SGreg Kroah-Hartman
2940efcb05SGreg Kroah-Hartman	  If in doubt, say "N" here.
3040efcb05SGreg Kroah-Hartman
31804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KPROBES
32804defeaSAnanth N Mavinakayanahalli	tristate "Build kprobes examples -- loadable modules only"
33804defeaSAnanth N Mavinakayanahalli	depends on KPROBES && m
34804defeaSAnanth N Mavinakayanahalli	help
35804defeaSAnanth N Mavinakayanahalli	  This build several kprobes example modules.
36804defeaSAnanth N Mavinakayanahalli
37804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KRETPROBES
38804defeaSAnanth N Mavinakayanahalli	tristate "Build kretprobes example -- loadable modules only"
39804defeaSAnanth N Mavinakayanahalli	default m
40804defeaSAnanth N Mavinakayanahalli	depends on SAMPLE_KPROBES && KRETPROBES
41804defeaSAnanth N Mavinakayanahalli
42267c4025SMathieu Desnoyersendif # SAMPLES
4340efcb05SGreg Kroah-Hartman
44