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_TRACEPOINTS 11 tristate "Build tracepoints examples -- loadable modules only" 12 depends on TRACEPOINTS && m 13 help 14 This build tracepoints example modules. 15 16config SAMPLE_TRACE_EVENTS 17 tristate "Build trace_events examples -- loadable modules only" 18 depends on EVENT_TRACING && m 19 help 20 This build trace event example modules. 21 22config SAMPLE_KOBJECT 23 tristate "Build kobject examples -- loadable modules only" 24 depends on m 25 help 26 This config option will allow you to build a number of 27 different kobject sample modules showing how to use kobjects, 28 ksets, and ktypes properly. 29 30 If in doubt, say "N" here. 31 32config SAMPLE_KPROBES 33 tristate "Build kprobes examples -- loadable modules only" 34 depends on KPROBES && m 35 help 36 This build several kprobes example modules. 37 38config SAMPLE_KRETPROBES 39 tristate "Build kretprobes example -- loadable modules only" 40 default m 41 depends on SAMPLE_KPROBES && KRETPROBES 42 43endif # SAMPLES 44 45