Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b53dde9d authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner
Browse files

ftrace: disable -pg for the tracer itself



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3594136a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line

# Do not instrument the tracer itself:

ifdef CONFIG_FTRACE
ORIG_CFLAGS := $(KBUILD_CFLAGS)
KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
endif

obj-$(CONFIG_FTRACE) += libftrace.o

obj-$(CONFIG_TRACING) += trace.o