diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-06 19:06:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-20 12:27:03 -0400 |
commit | 606576ce816603d9fe1fb453a88bc6eea16ca709 (patch) | |
tree | 7c6844ff4d75f249df49e9e5fe97062d301c3a1f /kernel/trace/Kconfig | |
parent | c2db8054c1eaf99983d8deee347876b01c26c2cf (diff) |
ftrace: rename FTRACE to FUNCTION_TRACER
Due to confusion between the ftrace infrastructure and the gcc profiling
tracer "ftrace", this patch renames the config options from FTRACE to
FUNCTION_TRACER. The other two names that are offspring from FTRACE
DYNAMIC_FTRACE and FTRACE_MCOUNT_RECORD will stay the same.
This patch was generated mostly by script, and partially by hand.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 5866edbc2ed1..3533c583df47 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -1,11 +1,12 @@ | |||
1 | # | 1 | # |
2 | # Architectures that offer an FTRACE implementation should select HAVE_FTRACE: | 2 | # Architectures that offer an FUNCTION_TRACER implementation should |
3 | # select HAVE_FUNCTION_TRACER: | ||
3 | # | 4 | # |
4 | 5 | ||
5 | config NOP_TRACER | 6 | config NOP_TRACER |
6 | bool | 7 | bool |
7 | 8 | ||
8 | config HAVE_FTRACE | 9 | config HAVE_FUNCTION_TRACER |
9 | bool | 10 | bool |
10 | select NOP_TRACER | 11 | select NOP_TRACER |
11 | 12 | ||
@@ -28,9 +29,9 @@ config TRACING | |||
28 | select STACKTRACE | 29 | select STACKTRACE |
29 | select TRACEPOINTS | 30 | select TRACEPOINTS |
30 | 31 | ||
31 | config FTRACE | 32 | config FUNCTION_TRACER |
32 | bool "Kernel Function Tracer" | 33 | bool "Kernel Function Tracer" |
33 | depends on HAVE_FTRACE | 34 | depends on HAVE_FUNCTION_TRACER |
34 | depends on DEBUG_KERNEL | 35 | depends on DEBUG_KERNEL |
35 | select FRAME_POINTER | 36 | select FRAME_POINTER |
36 | select TRACING | 37 | select TRACING |
@@ -136,9 +137,9 @@ config BOOT_TRACER | |||
136 | 137 | ||
137 | config STACK_TRACER | 138 | config STACK_TRACER |
138 | bool "Trace max stack" | 139 | bool "Trace max stack" |
139 | depends on HAVE_FTRACE | 140 | depends on HAVE_FUNCTION_TRACER |
140 | depends on DEBUG_KERNEL | 141 | depends on DEBUG_KERNEL |
141 | select FTRACE | 142 | select FUNCTION_TRACER |
142 | select STACKTRACE | 143 | select STACKTRACE |
143 | help | 144 | help |
144 | This special tracer records the maximum stack footprint of the | 145 | This special tracer records the maximum stack footprint of the |
@@ -155,7 +156,7 @@ config STACK_TRACER | |||
155 | 156 | ||
156 | config DYNAMIC_FTRACE | 157 | config DYNAMIC_FTRACE |
157 | bool "enable/disable ftrace tracepoints dynamically" | 158 | bool "enable/disable ftrace tracepoints dynamically" |
158 | depends on FTRACE | 159 | depends on FUNCTION_TRACER |
159 | depends on HAVE_DYNAMIC_FTRACE | 160 | depends on HAVE_DYNAMIC_FTRACE |
160 | depends on DEBUG_KERNEL | 161 | depends on DEBUG_KERNEL |
161 | default y | 162 | default y |
@@ -165,7 +166,7 @@ config DYNAMIC_FTRACE | |||
165 | with a No-Op instruction) as they are called. A table is | 166 | with a No-Op instruction) as they are called. A table is |
166 | created to dynamically enable them again. | 167 | created to dynamically enable them again. |
167 | 168 | ||
168 | This way a CONFIG_FTRACE kernel is slightly larger, but otherwise | 169 | This way a CONFIG_FUNCTION_TRACER kernel is slightly larger, but otherwise |
169 | has native performance as long as no tracing is active. | 170 | has native performance as long as no tracing is active. |
170 | 171 | ||
171 | The changes to the code are done by a kernel thread that | 172 | The changes to the code are done by a kernel thread that |