xref: /linux/samples/Kconfig (revision 779b96d20ca97cfa19162b340bff0c27b405b4b2)
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
475bf2b193SStefani Seiboldconfig SAMPLE_KFIFO
485bf2b193SStefani Seibold	tristate "Build kfifo examples -- loadable modules only"
495bf2b193SStefani Seibold	depends on m
505bf2b193SStefani Seibold	help
515bf2b193SStefani Seibold	  This config option will allow you to build a number of
525bf2b193SStefani Seibold	  different kfifo sample modules showing how to use the
535bf2b193SStefani Seibold	  generic kfifo API.
545bf2b193SStefani Seibold
555bf2b193SStefani Seibold	  If in doubt, say "N" here.
565bf2b193SStefani Seibold
574aad8f51SJason Wesselconfig SAMPLE_KDB
5825985edcSLucas De Marchi	tristate "Build kdb command example -- loadable modules only"
594aad8f51SJason Wessel	depends on KGDB_KDB && m
604aad8f51SJason Wessel	help
614aad8f51SJason Wessel	  Build an example of how to dynamically add the hello
624aad8f51SJason Wessel	  command to the kdb shell.
634aad8f51SJason Wessel
64*779b96d2SOhad Ben-Cohenconfig SAMPLE_RPMSG_CLIENT
65*779b96d2SOhad Ben-Cohen	tristate "Build rpmsg client sample -- loadable modules only"
66*779b96d2SOhad Ben-Cohen	depends on RPMSG && m
67*779b96d2SOhad Ben-Cohen	help
68*779b96d2SOhad Ben-Cohen	  Build an rpmsg client sample driver, which demonstrates how
69*779b96d2SOhad Ben-Cohen	  to communicate with an AMP-configured remote processor over
70*779b96d2SOhad Ben-Cohen	  the rpmsg bus.
71*779b96d2SOhad Ben-Cohen
72267c4025SMathieu Desnoyersendif # SAMPLES
73