blob: 428b065ba6959791e4f7ab4c180a914c9e3ba917 [file] [log] [blame]
Mathieu Desnoyers267c4022007-10-18 23:41:07 -07001# 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
Mathieu Desnoyers31155bc2007-10-18 23:41:08 -070010config SAMPLE_MARKERS
11 tristate "Build markers examples -- loadable modules only"
12 depends on MARKERS && m
13 help
14 This build markers example modules.
Mathieu Desnoyers267c4022007-10-18 23:41:07 -070015
Mathieu Desnoyers4a089752008-07-18 12:16:16 -040016config SAMPLE_TRACEPOINTS
17 tristate "Build tracepoints examples -- loadable modules only"
18 depends on TRACEPOINTS && m
19 help
20 This build tracepoints example modules.
21
Steven Rostedt9cfe06f2009-04-14 21:37:03 -040022config SAMPLE_TRACE_EVENTS
Li Zefan96d17982009-05-06 10:32:32 +080023 tristate "Build trace_events examples -- loadable modules only"
24 depends on EVENT_TRACING && m
Steven Rostedt9cfe06f2009-04-14 21:37:03 -040025 help
26 This build trace event example modules.
27
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080028config SAMPLE_KOBJECT
Michal Marekc4c01682009-05-26 14:19:35 +020029 tristate "Build kobject examples -- loadable modules only"
30 depends on m
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080031 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
Ananth N Mavinakayanahalli804defe2008-03-04 14:28:38 -080038config 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
Mathieu Desnoyers267c4022007-10-18 23:41:07 -070049endif # SAMPLES
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080050