]>
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 | ||
4a089752 MD |
10 | config SAMPLE_TRACEPOINTS |
11 | tristate "Build tracepoints examples -- loadable modules only" | |
12 | depends on TRACEPOINTS && m | |
13 | help | |
14 | This build tracepoints example modules. | |
15 | ||
9cfe06f8 | 16 | config SAMPLE_TRACE_EVENTS |
96d17980 LZ |
17 | tristate "Build trace_events examples -- loadable modules only" |
18 | depends on EVENT_TRACING && m | |
9cfe06f8 SR |
19 | help |
20 | This build trace event example modules. | |
21 | ||
40efcb05 | 22 | config SAMPLE_KOBJECT |
c4c01684 MM |
23 | tristate "Build kobject examples -- loadable modules only" |
24 | depends on m | |
40efcb05 GKH |
25 | 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 | ||
804defea AM |
32 | config 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 | ||
38 | config SAMPLE_KRETPROBES | |
39 | tristate "Build kretprobes example -- loadable modules only" | |
40 | default m | |
41 | depends on SAMPLE_KPROBES && KRETPROBES | |
42 | ||
267c4025 | 43 | endif # SAMPLES |
40efcb05 | 44 |