diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index f3005717bcd0..5c2295b29f2c 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -4,6 +4,9 @@ | |||
4 | config HAVE_FTRACE | 4 | config HAVE_FTRACE |
5 | bool | 5 | bool |
6 | 6 | ||
7 | config HAVE_DYNAMIC_FTRACE | ||
8 | bool | ||
9 | |||
7 | config TRACER_MAX_TRACE | 10 | config TRACER_MAX_TRACE |
8 | bool | 11 | bool |
9 | 12 | ||
@@ -94,6 +97,7 @@ config CONTEXT_SWITCH_TRACER | |||
94 | config DYNAMIC_FTRACE | 97 | config DYNAMIC_FTRACE |
95 | bool "enable/disable ftrace tracepoints dynamically" | 98 | bool "enable/disable ftrace tracepoints dynamically" |
96 | depends on FTRACE | 99 | depends on FTRACE |
100 | depends on HAVE_DYNAMIC_FTRACE | ||
97 | default y | 101 | default y |
98 | help | 102 | help |
99 | This option will modify all the calls to ftrace dynamically | 103 | This option will modify all the calls to ftrace dynamically |