Skip to content

Commit 0847d16

Browse files
committed
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 <[email protected]>
1 parent c49731a commit 0847d16

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Documentation/features/debug/gcov-profile-all/arch-support.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
| sparc: | TODO |
2828
| um: | ok |
2929
| x86: | ok |
30-
| xtensa: | TODO |
30+
| xtensa: | ok |
3131
-----------------------

arch/xtensa/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config XTENSA
66
select ARCH_HAS_CURRENT_STACK_POINTER
77
select ARCH_HAS_DEBUG_VM_PGTABLE
88
select ARCH_HAS_DMA_PREP_COHERENT if MMU
9+
select ARCH_HAS_GCOV_PROFILE_ALL
910
select ARCH_HAS_KCOV
1011
select ARCH_HAS_SYNC_DMA_FOR_CPU if MMU
1112
select ARCH_HAS_SYNC_DMA_FOR_DEVICE if MMU

arch/xtensa/boot/lib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ endif
1818
KASAN_SANITIZE := n
1919
KCSAN_SANITIZE := n
2020
KCOV_INSTRUMENT := n
21+
GCOV_PROFILE := n
2122

2223
CFLAGS_REMOVE_inflate.o += -fstack-protector -fstack-protector-strong
2324
CFLAGS_REMOVE_zmem.o += -fstack-protector -fstack-protector-strong

0 commit comments

Comments
 (0)