projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PM / AVS: SmartReflex: Neaten logging
[cascardo/linux.git]
/
kernel
/
trace
/
Makefile
diff --git
a/kernel/trace/Makefile
b/kernel/trace/Makefile
index
979e7bf
..
d0a1617
100644
(file)
--- a/
kernel/trace/Makefile
+++ b/
kernel/trace/Makefile
@@
-1,4
+1,8
@@
+# We are fully aware of the dangers of __builtin_return_address()
+FRAME_CFLAGS := $(call cc-disable-warning,frame-address)
+KBUILD_CFLAGS += $(FRAME_CFLAGS)
+
# Do not instrument the tracer itself:
ifdef CONFIG_FUNCTION_TRACER
# Do not instrument the tracer itself:
ifdef CONFIG_FUNCTION_TRACER