| Mathieu Desnoyers | 267c402 | 2007-10-18 23:41:07 -0700 | [diff] [blame] | 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 |  | 
| Mathieu Desnoyers | 31155bc | 2007-10-18 23:41:08 -0700 | [diff] [blame] | 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. | 
| Mathieu Desnoyers | 267c402 | 2007-10-18 23:41:07 -0700 | [diff] [blame] | 15 |  | 
| Mathieu Desnoyers | 4a08975 | 2008-07-18 12:16:16 -0400 | [diff] [blame] | 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 |  | 
| Steven Rostedt | 9cfe06f | 2009-04-14 21:37:03 -0400 | [diff] [blame] | 22 | config SAMPLE_TRACE_EVENTS | 
| Li Zefan | 96d1798 | 2009-05-06 10:32:32 +0800 | [diff] [blame] | 23 | tristate "Build trace_events examples -- loadable modules only" | 
|  | 24 | depends on EVENT_TRACING && m | 
| Steven Rostedt | 9cfe06f | 2009-04-14 21:37:03 -0400 | [diff] [blame] | 25 | help | 
|  | 26 | This build trace event example modules. | 
|  | 27 |  | 
| Greg Kroah-Hartman | 40efcb0 | 2007-11-27 11:28:26 -0800 | [diff] [blame] | 28 | config 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 Mavinakayanahalli | 804defe | 2008-03-04 14:28:38 -0800 | [diff] [blame] | 37 | config 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 |  | 
|  | 43 | config SAMPLE_KRETPROBES | 
|  | 44 | tristate "Build kretprobes example -- loadable modules only" | 
|  | 45 | default m | 
|  | 46 | depends on SAMPLE_KPROBES && KRETPROBES | 
|  | 47 |  | 
| K.Prasad | 4320399 | 2009-06-01 23:46:20 +0530 | [diff] [blame^] | 48 | config SAMPLE_HW_BREAKPOINT | 
|  | 49 | tristate "Build kernel hardware breakpoint examples -- loadable module only" | 
|  | 50 | depends on HAVE_HW_BREAKPOINT && m | 
|  | 51 | help | 
|  | 52 | This builds kernel hardware breakpoint example modules. | 
|  | 53 |  | 
| Mathieu Desnoyers | 267c402 | 2007-10-18 23:41:07 -0700 | [diff] [blame] | 54 | endif # SAMPLES | 
| Greg Kroah-Hartman | 40efcb0 | 2007-11-27 11:28:26 -0800 | [diff] [blame] | 55 |  |