Commit 9d0a420b authored by Steven Rostedt's avatar Steven Rostedt Committed by Thomas Gleixner
Browse files

ftrace: remove function tracing from spinlock debug

The debug functions in spin_lock debugging pollute the output of the
function tracer. This patch adds the debug files in the lib director
to those that should not be compiled with mcount tracing.
Signed-off-by: default avatarSteven Rostedt <>
Signed-off-by: default avatarIngo Molnar <>
Signed-off-by: default avatarThomas Gleixner <>
parent 92205c23
......@@ -10,8 +10,9 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
# Do not profile string.o, since it may be used in early boot or vdso
# Also do not profile any debug utilities
KBUILD_CFLAGS = $(if $(subst string,,$(basename $(notdir $@))), \
KBUILD_CFLAGS = $(if $(filter-out %debug debug% string%,$(basename $(notdir $@))), \
$(subst -pg,,$(ORIG_CFLAGS)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment