aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/Makefile')
-rw-r--r--kernel/trace/Makefile7
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
11endif 11endif
12 12
13# If unlikely tracing is enabled, do not trace these files 13# If unlikely tracing is enabled, do not trace these files
14ifdef CONFIG_TRACING_UNLIKELY 14ifdef CONFIG_TRACING_BRANCHES
15KBUILD_CFLAGS += '-Dlikely(x)=likely_notrace(x)' 15KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
16KBUILD_CFLAGS += '-Dunlikely(x)=unlikely_notrace(x)'
17endif 16endif
18 17
19obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o 18obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o
@@ -31,6 +30,6 @@ obj-$(CONFIG_STACK_TRACER) += trace_stack.o
31obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o 30obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
32obj-$(CONFIG_BOOT_TRACER) += trace_boot.o 31obj-$(CONFIG_BOOT_TRACER) += trace_boot.o
33obj-$(CONFIG_FUNCTION_RET_TRACER) += trace_functions_return.o 32obj-$(CONFIG_FUNCTION_RET_TRACER) += trace_functions_return.o
34obj-$(CONFIG_TRACE_UNLIKELY_PROFILE) += trace_unlikely.o 33obj-$(CONFIG_TRACE_BRANCH_PROFILING) += trace_unlikely.o
35 34
36libftrace-y := ftrace.o 35libftrace-y := ftrace.o