Skip to content

Commit 79df457

Browse files
liu-song-6Peter Zijlstra
authored andcommitted
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 8b8ff8c commit 79df457

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

kernel/events/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
ifdef CONFIG_FUNCTION_TRACER
3-
CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)
4-
endif
5-
62
obj-y := core.o ring_buffer.o callchain.o
73

84
obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
95
obj-$(CONFIG_UPROBES) += uprobes.o
10-

0 commit comments

Comments
 (0)