Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: enable ARCH_HAS_GCOV_PROFILE_ALL

Select ARCH_HAS_GCOV_PROFILE_ALL and set GCOV_PROFILE = n inside
arch/xtensa/boot/lib.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+3 -1
+1 -1
Documentation/features/debug/gcov-profile-all/arch-support.txt
··· 27 27 | sparc: | TODO | 28 28 | um: | ok | 29 29 | x86: | ok | 30 - | xtensa: | TODO | 30 + | xtensa: | ok | 31 31 -----------------------
+1
arch/xtensa/Kconfig
··· 6 6 select ARCH_HAS_CURRENT_STACK_POINTER 7 7 select ARCH_HAS_DEBUG_VM_PGTABLE 8 8 select ARCH_HAS_DMA_PREP_COHERENT if MMU 9 + select ARCH_HAS_GCOV_PROFILE_ALL 9 10 select ARCH_HAS_KCOV 10 11 select ARCH_HAS_SYNC_DMA_FOR_CPU if MMU 11 12 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if MMU
+1
arch/xtensa/boot/lib/Makefile
··· 18 18 KASAN_SANITIZE := n 19 19 KCSAN_SANITIZE := n 20 20 KCOV_INSTRUMENT := n 21 + GCOV_PROFILE := n 21 22 22 23 CFLAGS_REMOVE_inflate.o += -fstack-protector -fstack-protector-strong 23 24 CFLAGS_REMOVE_zmem.o += -fstack-protector -fstack-protector-strong