* [PATCH v2 8/10] arm: vdso: disable profiling
@ 2017-10-12 23:00 Mark Salyzyn
0 siblings, 0 replies; only message in thread
From: Mark Salyzyn @ 2017-10-12 23:00 UTC (permalink / raw)
To: linux-kernel
Cc: james.morse, Mark Salyzyn, Russell King, Mark Salyzyn, linux-arm-kernel
Make sure kasan and ubsan profiling, and kcov instrumentation,
is turned off for VDSO code.
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
v2: Added this to the split up of first CL, based on comments in second CL
---
arch/arm/vdso/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile
index 59a8fa7b8a3b..1ce912ab47cc 100644
--- a/arch/arm/vdso/Makefile
+++ b/arch/arm/vdso/Makefile
@@ -26,8 +26,11 @@ CFLAGS_REMOVE_vdso.o = -pg
CFLAGS_REMOVE_vgettimeofday.o = -pg -Os
CFLAGS_vgettimeofday.o = -O2
-# Disable gcov profiling for VDSO code
+# Disable gcov, kasan, ubsan and kcov profiling for VDSO code
GCOV_PROFILE := n
+KASAN_SANITIZE := n
+UBSAN_SANITIZE := n
+KCOV_INSTRUMENT := n
# Force dependency
$(obj)/vdso.o : $(obj)/vdso.so
--
2.15.0.rc0.271.g36b669edcc-goog
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-12 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-12 23:00 [PATCH v2 8/10] arm: vdso: disable profiling Mark Salyzyn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome