diff options
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 |