Skip to contentSkip to conversation

arm: vdso: disable profiling

PATCH Superseded Mark Salyzyn 1 participant 1 message Oct 12, 2017 Arm (32-bit)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 8/10 arm: vdso: disable profiling

Make sure kasan and ubsan profiling, and kcov instrumentation, is turned off for VDSO code.

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(-)
arch/arm/vdso/Makefile +4 -1
index 59a8fa7b8a3b..1ce912ab47cc 100644
@@ -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
Signature · 1 line
2.15.0.rc0.271.g36b669edcc-goog