1# samples/Kconfig 2 3menuconfig SAMPLES 4 bool "Sample kernel code" 5 help 6 You can build and test sample kernel code here. 7 8if SAMPLES 9 10config SAMPLE_MARKERS 11 tristate "Build markers examples -- loadable modules only" 12 depends on MARKERS && m 13 help 14 This build markers example modules. 15 16config SAMPLE_TRACEPOINTS 17 tristate "Build tracepoints examples -- loadable modules only" 18 depends on TRACEPOINTS && m 19 help 20 This build tracepoints example modules. 21 22config SAMPLE_TRACE_EVENTS 23 tristate "Build trace_events examples -- loadable modules only" 24 depends on EVENT_TRACING && m 25 help 26 This build trace event example modules. 27 28config SAMPLE_KOBJECT 29 tristate "Build kobject examples" 30 help 31 This config option will allow you to build a number of 32 different kobject sample modules showing how to use kobjects, 33 ksets, and ktypes properly. 34 35 If in doubt, say "N" here. 36 37config SAMPLE_KPROBES 38 tristate "Build kprobes examples -- loadable modules only" 39 depends on KPROBES && m 40 help 41 This build several kprobes example modules. 42 43config SAMPLE_KRETPROBES 44 tristate "Build kretprobes example -- loadable modules only" 45 default m 46 depends on SAMPLE_KPROBES && KRETPROBES 47 48endif # SAMPLES 49 50