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 66*13d1cf7eSSeth Jenningsconfig SAMPLE_LIVE_PATCHING 67*13d1cf7eSSeth Jennings tristate "Build live patching sample -- loadable modules only" 68*13d1cf7eSSeth Jennings depends on LIVE_PATCHING && m 69*13d1cf7eSSeth Jennings help 70*13d1cf7eSSeth Jennings Builds a sample live patch that replaces the procfs handler 71*13d1cf7eSSeth Jennings for /proc/cmdline to print "this has been live patched". 72*13d1cf7eSSeth Jennings 73267c4025SMathieu Desnoyersendif # SAMPLES 74