xref: /linux/samples/Kconfig (revision 14fbff6b4e48a529c90e771598ac12bffd445ff4)
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
89cfe06f8SSteven Rostedtconfig SAMPLE_TRACE_EVENTS
996d17980SLi Zefan	tristate "Build trace_events examples -- loadable modules only"
1096d17980SLi Zefan	depends on EVENT_TRACING && m
119cfe06f8SSteven Rostedt	help
129cfe06f8SSteven Rostedt	  This build trace event example modules.
139cfe06f8SSteven Rostedt
1440efcb05SGreg Kroah-Hartmanconfig SAMPLE_KOBJECT
15c4c01684SMichal Marek	tristate "Build kobject examples -- loadable modules only"
16c4c01684SMichal Marek	depends on m
1740efcb05SGreg Kroah-Hartman	help
1840efcb05SGreg Kroah-Hartman	  This config option will allow you to build a number of
1940efcb05SGreg Kroah-Hartman	  different kobject sample modules showing how to use kobjects,
2040efcb05SGreg Kroah-Hartman	  ksets, and ktypes properly.
2140efcb05SGreg Kroah-Hartman
2240efcb05SGreg Kroah-Hartman	  If in doubt, say "N" here.
2340efcb05SGreg Kroah-Hartman
24804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KPROBES
25804defeaSAnanth N Mavinakayanahalli	tristate "Build kprobes examples -- loadable modules only"
26804defeaSAnanth N Mavinakayanahalli	depends on KPROBES && m
27804defeaSAnanth N Mavinakayanahalli	help
28804defeaSAnanth N Mavinakayanahalli	  This build several kprobes example modules.
29804defeaSAnanth N Mavinakayanahalli
30804defeaSAnanth N Mavinakayanahalliconfig SAMPLE_KRETPROBES
31804defeaSAnanth N Mavinakayanahalli	tristate "Build kretprobes example -- loadable modules only"
32804defeaSAnanth N Mavinakayanahalli	default m
33804defeaSAnanth N Mavinakayanahalli	depends on SAMPLE_KPROBES && KRETPROBES
34804defeaSAnanth N Mavinakayanahalli
3543203993SK.Prasadconfig SAMPLE_HW_BREAKPOINT
3643203993SK.Prasad	tristate "Build kernel hardware breakpoint examples -- loadable module only"
3743203993SK.Prasad	depends on HAVE_HW_BREAKPOINT && m
3843203993SK.Prasad	help
3943203993SK.Prasad	  This builds kernel hardware breakpoint example modules.
4043203993SK.Prasad
415bf2b193SStefani Seiboldconfig SAMPLE_KFIFO
425bf2b193SStefani Seibold	tristate "Build kfifo examples -- loadable modules only"
435bf2b193SStefani Seibold	depends on m
445bf2b193SStefani Seibold	help
455bf2b193SStefani Seibold	  This config option will allow you to build a number of
465bf2b193SStefani Seibold	  different kfifo sample modules showing how to use the
475bf2b193SStefani Seibold	  generic kfifo API.
485bf2b193SStefani Seibold
495bf2b193SStefani Seibold	  If in doubt, say "N" here.
505bf2b193SStefani Seibold
514aad8f51SJason Wesselconfig SAMPLE_KDB
5225985edcSLucas De Marchi	tristate "Build kdb command example -- loadable modules only"
534aad8f51SJason Wessel	depends on KGDB_KDB && m
544aad8f51SJason Wessel	help
554aad8f51SJason Wessel	  Build an example of how to dynamically add the hello
564aad8f51SJason Wessel	  command to the kdb shell.
574aad8f51SJason Wessel
58779b96d2SOhad Ben-Cohenconfig SAMPLE_RPMSG_CLIENT
59779b96d2SOhad Ben-Cohen	tristate "Build rpmsg client sample -- loadable modules only"
60779b96d2SOhad Ben-Cohen	depends on RPMSG && m
61779b96d2SOhad Ben-Cohen	help
62779b96d2SOhad Ben-Cohen	  Build an rpmsg client sample driver, which demonstrates how
63779b96d2SOhad Ben-Cohen	  to communicate with an AMP-configured remote processor over
64779b96d2SOhad Ben-Cohen	  the rpmsg bus.
65779b96d2SOhad Ben-Cohen
6612cf89b5SJosh Poimboeufconfig SAMPLE_LIVEPATCH
6713d1cf7eSSeth Jennings	tristate "Build live patching sample -- loadable modules only"
6812cf89b5SJosh Poimboeuf	depends on LIVEPATCH && m
6913d1cf7eSSeth Jennings	help
7013d1cf7eSSeth Jennings	  Builds a sample live patch that replaces the procfs handler
7113d1cf7eSSeth Jennings	  for /proc/cmdline to print "this has been live patched".
7213d1cf7eSSeth Jennings
7351798222SChristoph Hellwigconfig SAMPLE_CONFIGFS
7451798222SChristoph Hellwig	tristate "Build configfs patching sample -- loadable modules only"
7551798222SChristoph Hellwig	depends on CONFIGFS_FS && m
7651798222SChristoph Hellwig	help
7751798222SChristoph Hellwig	  Builds a sample configfs interface.
7851798222SChristoph Hellwig
79*14fbff6bSArnd Bergmannconfig SAMPLE_CONNECTOR
80*14fbff6bSArnd Bergmann	tristate "Build connector sample -- loadable modules only"
81*14fbff6bSArnd Bergmann	depends on CONNECTOR && m
82*14fbff6bSArnd Bergmann	help
83*14fbff6bSArnd Bergmann	  When enabled, this builds both a sample kernel module for
84*14fbff6bSArnd Bergmann	  the connector interface and a user space tool to communicate
85*14fbff6bSArnd Bergmann	  with it.
86*14fbff6bSArnd Bergmann	  See also Documentation/connector/connector.txt
87*14fbff6bSArnd Bergmann
88267c4025SMathieu Desnoyersendif # SAMPLES
89