blob: e4be84ac3d381c217982cdffc71ec92fa7cd6c9b [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 Desnoyers4a089752008-07-18 12:16:16 -040010config SAMPLE_TRACEPOINTS
11 tristate "Build tracepoints examples -- loadable modules only"
12 depends on TRACEPOINTS && m
13 help
14 This build tracepoints example modules.
15
Steven Rostedt9cfe06f2009-04-14 21:37:03 -040016config SAMPLE_TRACE_EVENTS
Li Zefan96d17982009-05-06 10:32:32 +080017 tristate "Build trace_events examples -- loadable modules only"
18 depends on EVENT_TRACING && m
Steven Rostedt9cfe06f2009-04-14 21:37:03 -040019 help
20 This build trace event example modules.
21
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080022config SAMPLE_KOBJECT
Michal Marekc4c01682009-05-26 14:19:35 +020023 tristate "Build kobject examples -- loadable modules only"
24 depends on m
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080025 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
Ananth N Mavinakayanahalli804defe2008-03-04 14:28:38 -080032config 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
K.Prasad43203992009-06-01 23:46:20 +053043config SAMPLE_HW_BREAKPOINT
44 tristate "Build kernel hardware breakpoint examples -- loadable module only"
45 depends on HAVE_HW_BREAKPOINT && m
46 help
47 This builds kernel hardware breakpoint example modules.
48
Mathieu Desnoyers267c4022007-10-18 23:41:07 -070049endif # SAMPLES
Greg Kroah-Hartman40efcb02007-11-27 11:28:26 -080050