diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-12 15:24:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-12 16:27:58 -0500 |
commit | 2ed84eeb8808cf3c9f039213ca137ffd7d753f0e (patch) | |
tree | 3aa22269a1fd5ed0b66826120ca9b572400962b5 /kernel/trace/trace_unlikely.c | |
parent | 68d119f0a66f7e3663304343b072e56a2693446b (diff) |
trace: rename unlikely profiler to branch profiler
Impact: name change of unlikely tracer and profiler
Ingo Molnar suggested changing the config from UNLIKELY_PROFILE
to BRANCH_PROFILING. I never did like the "unlikely" name so I
went one step farther, and renamed all the unlikely configurations
to a "BRANCH" variant.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_unlikely.c')
-rw-r--r-- | kernel/trace/trace_unlikely.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_unlikely.c b/kernel/trace/trace_unlikely.c index 7290e0e7b4e3..856eb3b7f694 100644 --- a/kernel/trace/trace_unlikely.c +++ b/kernel/trace/trace_unlikely.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <asm/local.h> | 15 | #include <asm/local.h> |
16 | #include "trace.h" | 16 | #include "trace.h" |
17 | 17 | ||
18 | #ifdef CONFIG_UNLIKELY_TRACER | 18 | #ifdef CONFIG_BRANCH_TRACER |
19 | 19 | ||
20 | static int unlikely_tracing_enabled __read_mostly; | 20 | static int unlikely_tracing_enabled __read_mostly; |
21 | static DEFINE_MUTEX(unlikely_tracing_mutex); | 21 | static DEFINE_MUTEX(unlikely_tracing_mutex); |
@@ -119,7 +119,7 @@ static inline | |||
119 | void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) | 119 | void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) |
120 | { | 120 | { |
121 | } | 121 | } |
122 | #endif /* CONFIG_UNLIKELY_TRACER */ | 122 | #endif /* CONFIG_BRANCH_TRACER */ |
123 | 123 | ||
124 | void ftrace_likely_update(struct ftrace_likely_data *f, int val, int expect) | 124 | void ftrace_likely_update(struct ftrace_likely_data *f, int val, int expect) |
125 | { | 125 | { |