Back to home page

LXR

 
 

    


0001 menuconfig SAMPLES
0002         bool "Sample kernel code"
0003         help
0004           You can build and test sample kernel code here.
0005 
0006 if SAMPLES
0007 
0008 config SAMPLE_TRACE_EVENTS
0009         tristate "Build trace_events examples -- loadable modules only"
0010         depends on EVENT_TRACING && m
0011         help
0012           This build trace event example modules.
0013 
0014 config SAMPLE_TRACE_PRINTK
0015         tristate "Build trace_printk module - tests various trace_printk formats"
0016         depends on EVENT_TRACING && m
0017         help
0018          This builds a module that calls trace_printk() and can be used to
0019          test various trace_printk() calls from a module.
0020 
0021 config SAMPLE_KOBJECT
0022         tristate "Build kobject examples -- loadable modules only"
0023         depends on m
0024         help
0025           This config option will allow you to build a number of
0026           different kobject sample modules showing how to use kobjects,
0027           ksets, and ktypes properly.
0028 
0029           If in doubt, say "N" here.
0030 
0031 config SAMPLE_KPROBES
0032         tristate "Build kprobes examples -- loadable modules only"
0033         depends on KPROBES && m
0034         help
0035           This build several kprobes example modules.
0036 
0037 config SAMPLE_KRETPROBES
0038         tristate "Build kretprobes example -- loadable modules only"
0039         default m
0040         depends on SAMPLE_KPROBES && KRETPROBES
0041 
0042 config SAMPLE_HW_BREAKPOINT
0043         tristate "Build kernel hardware breakpoint examples -- loadable module only"
0044         depends on HAVE_HW_BREAKPOINT && m
0045         help
0046           This builds kernel hardware breakpoint example modules.
0047 
0048 config SAMPLE_KFIFO
0049         tristate "Build kfifo examples -- loadable modules only"
0050         depends on m
0051         help
0052           This config option will allow you to build a number of
0053           different kfifo sample modules showing how to use the
0054           generic kfifo API.
0055 
0056           If in doubt, say "N" here.
0057 
0058 config SAMPLE_KDB
0059         tristate "Build kdb command example -- loadable modules only"
0060         depends on KGDB_KDB && m
0061         help
0062           Build an example of how to dynamically add the hello
0063           command to the kdb shell.
0064 
0065 config SAMPLE_RPMSG_CLIENT
0066         tristate "Build rpmsg client sample -- loadable modules only"
0067         depends on RPMSG && m
0068         help
0069           Build an rpmsg client sample driver, which demonstrates how
0070           to communicate with an AMP-configured remote processor over
0071           the rpmsg bus.
0072 
0073 config SAMPLE_LIVEPATCH
0074         tristate "Build live patching sample -- loadable modules only"
0075         depends on LIVEPATCH && m
0076         help
0077           Builds a sample live patch that replaces the procfs handler
0078           for /proc/cmdline to print "this has been live patched".
0079 
0080 config SAMPLE_CONFIGFS
0081         tristate "Build configfs patching sample -- loadable modules only"
0082         depends on CONFIGFS_FS && m
0083         help
0084           Builds a sample configfs interface.
0085 
0086 config SAMPLE_CONNECTOR
0087         tristate "Build connector sample -- loadable modules only"
0088         depends on CONNECTOR && m
0089         help
0090           When enabled, this builds both a sample kernel module for
0091           the connector interface and a user space tool to communicate
0092           with it.
0093           See also Documentation/connector/connector.txt
0094 
0095 config SAMPLE_SECCOMP
0096         tristate "Build seccomp sample code -- loadable modules only"
0097         depends on SECCOMP_FILTER && m
0098         help
0099           Build samples of seccomp filters using various methods of
0100           BPF filter construction.
0101 
0102 config SAMPLE_BLACKFIN_GPTIMERS
0103         tristate "Build blackfin gptimers sample code -- loadable modules only"
0104         depends on BLACKFIN && BFIN_GPTIMERS && m
0105         help
0106           Build samples of blackfin gptimers sample module.
0107 
0108 config SAMPLE_VFIO_MDEV_MTTY
0109         tristate "Build VFIO mtty example mediated device sample code -- loadable modules only"
0110         depends on VFIO_MDEV_DEVICE && m
0111         help
0112           Build a virtual tty sample driver for use as a VFIO
0113           mediated device
0114 
0115 endif # SAMPLES