mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
8a7e8f5171
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>
18 lines
556 B
Makefile
18 lines
556 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Any varying coverage in these files is non-deterministic
|
|
# 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
|
|
obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o
|
|
obj-$(CONFIG_RCU_PERF_TEST) += rcuperf.o
|
|
obj-$(CONFIG_TREE_RCU) += tree.o
|
|
obj-$(CONFIG_TINY_RCU) += tiny.o
|
|
obj-$(CONFIG_RCU_NEED_SEGCBLIST) += rcu_segcblist.o
|