Root/samples/Kconfig

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 -- loadable modules only"
30    depends on m
31    help
32      This config option will allow you to build a number of
33      different kobject sample modules showing how to use kobjects,
34      ksets, and ktypes properly.
35
36      If in doubt, say "N" here.
37
38config SAMPLE_KPROBES
39    tristate "Build kprobes examples -- loadable modules only"
40    depends on KPROBES && m
41    help
42      This build several kprobes example modules.
43
44config SAMPLE_KRETPROBES
45    tristate "Build kretprobes example -- loadable modules only"
46    default m
47    depends on SAMPLE_KPROBES && KRETPROBES
48
49endif # SAMPLES
50
51

Archive Download this file



interactive