diff options
author | Song Liu <songliubraving@fb.com> | 2021-10-07 00:07:32 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-15 12:25:31 +0300 |
commit | 79df45731da68772d2285265864a52c900b8c65f (patch) | |
tree | 61bf039da5c7490e8726f7daf1e30bf3fd85368f | |
parent | 8b8ff8cc3b8155c18162e8b1f70e1230db176862 (diff) | |
download | linux-79df45731da68772d2285265864a52c900b8c65f.tar.xz |
perf/core: Allow ftrace for functions in kernel/event/core.c
It is useful to trace functions in kernel/event/core.c. Allow ftrace for
them by removing $(CC_FLAGS_FTRACE) from Makefile.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211006210732.2826289-1-songliubraving@fb.com
-rw-r--r-- | kernel/events/Makefile | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/events/Makefile b/kernel/events/Makefile index 3c022e33c109..8591c180b52b 100644 --- a/kernel/events/Makefile +++ b/kernel/events/Makefile @@ -1,10 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -ifdef CONFIG_FUNCTION_TRACER -CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE) -endif - obj-y := core.o ring_buffer.o callchain.o obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o obj-$(CONFIG_UPROBES) += uprobes.o - |