diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index cae2637d5e68..14d9505178ca 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -7,6 +7,9 @@ config HAVE_FTRACE | |||
7 | config HAVE_DYNAMIC_FTRACE | 7 | config HAVE_DYNAMIC_FTRACE |
8 | bool | 8 | bool |
9 | 9 | ||
10 | config HAVE_FTRACE_MCOUNT_RECORD | ||
11 | bool | ||
12 | |||
10 | config TRACER_MAX_TRACE | 13 | config TRACER_MAX_TRACE |
11 | bool | 14 | bool |
12 | 15 | ||
@@ -122,6 +125,11 @@ config DYNAMIC_FTRACE | |||
122 | were made. If so, it runs stop_machine (stops all CPUS) | 125 | were made. If so, it runs stop_machine (stops all CPUS) |
123 | and modifies the code to jump over the call to ftrace. | 126 | and modifies the code to jump over the call to ftrace. |
124 | 127 | ||
128 | config FTRACE_MCOUNT_RECORD | ||
129 | def_bool y | ||
130 | depends on DYNAMIC_FTRACE | ||
131 | depends on HAVE_FTRACE_MCOUNT_RECORD | ||
132 | |||
125 | config FTRACE_SELFTEST | 133 | config FTRACE_SELFTEST |
126 | bool | 134 | bool |
127 | 135 | ||