menuconfig [31mCONFIG_SAMPLES[0m
bool "Sample kernel code"
help
You can build and test sample kernel code here.
if [31mCONFIG_SAMPLES[0m
config [31mCONFIG_SAMPLE_TRACE_EVENTS[0m
tristate "Build trace_events examples -- loadable modules only"
depends on [31mCONFIG_EVENT_TRACING[0m && m
help
This build trace event example modules.
config [31mCONFIG_SAMPLE_TRACE_PRINTK[0m
tristate "Build trace_printk module - tests various trace_printk formats"
depends on [31mCONFIG_EVENT_TRACING[0m && m
help
This builds a module that calls trace_printk() and can be used to
test various trace_printk() calls from a module.
config [31mCONFIG_SAMPLE_KOBJECT[0m
tristate "Build kobject examples -- loadable modules only"
depends on m
help
This config option will allow you to build a number of
different kobject sample modules showing how to use kobjects,
ksets, and ktypes properly.
If in doubt, say "N" here.
config [31mCONFIG_SAMPLE_KPROBES[0m
tristate "Build kprobes examples -- loadable modules only"
depends on [31mCONFIG_KPROBES[0m && m
help
This build several kprobes example modules.
config [31mCONFIG_SAMPLE_KRETPROBES[0m
tristate "Build kretprobes example -- loadable modules only"
default m
depends on [31mCONFIG_SAMPLE_KPROBES[0m && [31mCONFIG_KRETPROBES[0m
config [31mCONFIG_SAMPLE_HW_BREAKPOINT[0m
tristate "Build kernel hardware breakpoint examples -- loadable module only"
depends on [31mCONFIG_HAVE_HW_BREAKPOINT[0m && m
help
This builds kernel hardware breakpoint example modules.
config [31mCONFIG_SAMPLE_KFIFO[0m
tristate "Build kfifo examples -- loadable modules only"
depends on m
help
This config option will allow you to build a number of
different kfifo sample modules showing how to use the
generic kfifo API.
If in doubt, say "N" here.
config [31mCONFIG_SAMPLE_KDB[0m
tristate "Build kdb command example -- loadable modules only"
depends on [31mCONFIG_KGDB_KDB[0m && m
help
Build an example of how to dynamically add the hello
command to the kdb shell.
config [31mCONFIG_SAMPLE_RPMSG_CLIENT[0m
tristate "Build rpmsg client sample -- loadable modules only"
depends on [31mCONFIG_RPMSG[0m && m
help
Build an rpmsg client sample driver, which demonstrates how
to communicate with an AMP-configured remote processor over
the rpmsg bus.
config [31mCONFIG_SAMPLE_LIVEPATCH[0m
tristate "Build live patching sample -- loadable modules only"
depends on [31mCONFIG_LIVEPATCH[0m && m
help
Builds a sample live patch that replaces the procfs handler
for /proc/cmdline to print "this has been live patched".
config [31mCONFIG_SAMPLE_CONFIGFS[0m
tristate "Build configfs patching sample -- loadable modules only"
depends on [31mCONFIG_CONFIGFS_FS[0m && m
help
Builds a sample configfs interface.
config [31mCONFIG_SAMPLE_CONNECTOR[0m
tristate "Build connector sample -- loadable modules only"
depends on [31mCONFIG_CONNECTOR[0m && m
help
When enabled, this builds both a sample kernel module for
the connector interface and a user space tool to communicate
with it.
See also Documentation/connector/connector.txt
config [31mCONFIG_SAMPLE_SECCOMP[0m
tristate "Build seccomp sample code -- loadable modules only"
depends on [31mCONFIG_SECCOMP_FILTER[0m && m
help
Build samples of seccomp filters using various methods of
[31mCONFIG_BPF[0m filter construction.
config [31mCONFIG_SAMPLE_BLACKFIN_GPTIMERS[0m
tristate "Build blackfin gptimers sample code -- loadable modules only"
depends on [31mCONFIG_BLACKFIN[0m && [31mCONFIG_BFIN_GPTIMERS[0m && m
help
Build samples of blackfin gptimers sample module.
config [31mCONFIG_SAMPLE_VFIO_MDEV_MTTY[0m
tristate "Build VFIO mtty example mediated device sample code -- loadable modules only"
depends on [31mCONFIG_VFIO_MDEV_DEVICE[0m && m
help
Build a virtual tty sample driver for use as a [31mCONFIG_VFIO[0m
mediated device
endif # [31mCONFIG_SAMPLES[0m