blob: b75d28cba3f75fef74d90d01b2fb8990984a1c55 [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
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
Ananth N Mavinakayanahalli804defe2008-03-04 14:28:38 -080037config 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
Mathieu Desnoyers267c4022007-10-18 23:41:07 -070048endif # SAMPLES
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080049