perf: Don't disable function tracing for perf
Subsystems (2)
PATCH 1/1 perf: Don't disable function tracing for perf
From: Andi Kleen <[email protected]>
According to Steven there is no reason left to not do function tracing for perf code. So remove the -pg for the x86 and core perf code. This makes perf easier to debug.
Signed-off-by Andi Kleen <[email protected]>
--- arch/x86/kernel/cpu/Makefile | 1 - kernel/events/Makefile | 4 ---- 2 files changed, 0 insertions(+), 5 deletions(-)
arch/x86/kernel/cpu/Makefile +0 -1
@@ -5,7 +5,6 @@ # Don't trace early stages of a secondary CPU boot ifdef CONFIG_FUNCTION_TRACER CFLAGS_REMOVE_common.o = -pg -CFLAGS_REMOVE_perf_event.o = -pg endif # Make sure load_percpu_segment has no stackprotector
kernel/events/Makefile +0 -4
@@ -1,7 +1,3 @@ -ifdef CONFIG_FUNCTION_TRACER -CFLAGS_REMOVE_core.o = -pg -endif - obj-y := core.o ring_buffer.o callchain.o obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
Signature · 1 line
1.7.7.6