projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24bb9ec
)
rcu: Provide debug symbols and line numbers in KCSAN runs
author
Paul E. McKenney
<paulmck@kernel.org>
Fri, 3 Jan 2020 00:48:05 +0000
(16:48 -0800)
committer
Paul E. McKenney
<paulmck@kernel.org>
Thu, 20 Feb 2020 23:58:21 +0000
(15:58 -0800)
This commit adds "-g -fno-omit-frame-pointer" to ease interpretation
of KCSAN output, but only for CONFIG_KCSAN=y kerrnels.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/Makefile
patch
|
blob
|
history
diff --git
a/kernel/rcu/Makefile
b/kernel/rcu/Makefile
index 82d5fba48b2f0a87344de6c69802f66249c99c40..f91f2c2cf13828a8cfc95fb69f3ac685fa31a735 100644
(file)
--- a/
kernel/rcu/Makefile
+++ b/
kernel/rcu/Makefile
@@
-3,6
+3,10
@@
# and is generally not a function of system call inputs.
KCOV_INSTRUMENT := n
+ifeq ($(CONFIG_KCSAN),y)
+KBUILD_CFLAGS += -g -fno-omit-frame-pointer
+endif
+
obj-y += update.o sync.o
obj-$(CONFIG_TREE_SRCU) += srcutree.o
obj-$(CONFIG_TINY_SRCU) += srcutiny.o