]>
Commit | Line | Data |
---|---|---|
267c4025 MD |
1 | # samples/Kconfig |
2 | ||
3 | menuconfig SAMPLES | |
4 | bool "Sample kernel code" | |
5 | help | |
6 | You can build and test sample kernel code here. | |
7 | ||
8 | if SAMPLES | |
9 | ||
31155bc0 MD |
10 | config SAMPLE_MARKERS |
11 | tristate "Build markers examples -- loadable modules only" | |
12 | depends on MARKERS && m | |
13 | help | |
14 | This build markers example modules. | |
267c4025 | 15 | |
4a089752 MD |
16 | config SAMPLE_TRACEPOINTS |
17 | tristate "Build tracepoints examples -- loadable modules only" | |
18 | depends on TRACEPOINTS && m | |
19 | help | |
20 | This build tracepoints example modules. | |
21 | ||
9cfe06f8 | 22 | config SAMPLE_TRACE_EVENTS |
96d17980 LZ |
23 | tristate "Build trace_events examples -- loadable modules only" |
24 | depends on EVENT_TRACING && m | |
9cfe06f8 SR |
25 | help |
26 | This build trace event example modules. | |
27 | ||
40efcb05 | 28 | config SAMPLE_KOBJECT |
c4c01684 MM |
29 | tristate "Build kobject examples -- loadable modules only" |
30 | depends on m | |
40efcb05 GKH |
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 | ||
804defea AM |
38 | config 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 | ||
44 | config SAMPLE_KRETPROBES | |
45 | tristate "Build kretprobes example -- loadable modules only" | |
46 | default m | |
47 | depends on SAMPLE_KPROBES && KRETPROBES | |
48 | ||
267c4025 | 49 | endif # SAMPLES |
40efcb05 | 50 |