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/Makefile | |
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/Makefile')
-rw-r--r-- | kernel/trace/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile index c938d03516c0..0087df7ba44e 100644 --- a/kernel/trace/Makefile +++ b/kernel/trace/Makefile | |||
@@ -11,9 +11,8 @@ obj-y += trace_selftest_dynamic.o | |||
11 | endif | 11 | endif |
12 | 12 | ||
13 | # If unlikely tracing is enabled, do not trace these files | 13 | # If unlikely tracing is enabled, do not trace these files |
14 | ifdef CONFIG_TRACING_UNLIKELY | 14 | ifdef CONFIG_TRACING_BRANCHES |
15 | KBUILD_CFLAGS += '-Dlikely(x)=likely_notrace(x)' | 15 | KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING |
16 | KBUILD_CFLAGS += '-Dunlikely(x)=unlikely_notrace(x)' | ||
17 | endif | 16 | endif |
18 | 17 | ||
19 | obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o | 18 | obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o |
@@ -31,6 +30,6 @@ obj-$(CONFIG_STACK_TRACER) += trace_stack.o | |||
31 | obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o | 30 | obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o |
32 | obj-$(CONFIG_BOOT_TRACER) += trace_boot.o | 31 | obj-$(CONFIG_BOOT_TRACER) += trace_boot.o |
33 | obj-$(CONFIG_FUNCTION_RET_TRACER) += trace_functions_return.o | 32 | obj-$(CONFIG_FUNCTION_RET_TRACER) += trace_functions_return.o |
34 | obj-$(CONFIG_TRACE_UNLIKELY_PROFILE) += trace_unlikely.o | 33 | obj-$(CONFIG_TRACE_BRANCH_PROFILING) += trace_unlikely.o |
35 | 34 | ||
36 | libftrace-y := ftrace.o | 35 | libftrace-y := ftrace.o |