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 | ||
40efcb05 GKH |
22 | config SAMPLE_KOBJECT |
23 | tristate "Build kobject examples" | |
24 | help | |
25 | This config option will allow you to build a number of | |
26 | different kobject sample modules showing how to use kobjects, | |
27 | ksets, and ktypes properly. | |
28 | ||
29 | If in doubt, say "N" here. | |
30 | ||
804defea AM |
31 | config SAMPLE_KPROBES |
32 | tristate "Build kprobes examples -- loadable modules only" | |
33 | depends on KPROBES && m | |
34 | help | |
35 | This build several kprobes example modules. | |
36 | ||
37 | config SAMPLE_KRETPROBES | |
38 | tristate "Build kretprobes example -- loadable modules only" | |
39 | default m | |
40 | depends on SAMPLE_KPROBES && KRETPROBES | |
41 | ||
267c4025 | 42 | endif # SAMPLES |
40efcb05 | 43 |