Re: [RFC PATCH 1/3] llvm-cov: add Clang's Source-based Code Coverage support

2024-08-25 Thread Thomas Gleixner
On Sat, Aug 24 2024 at 18:06, Wentao Zhang wrote: > Makefile | 3 + > arch/Kconfig | 1 + > arch/x86/Kconfig | 1 + > arch/x86/kernel/vmlinux.lds.S | 2 + > include/asm-generic/vmlinux.lds.h | 38 + > kernel/Makefile

[RFC PATCH 1/3] llvm-cov: add Clang's Source-based Code Coverage support

2024-08-24 Thread Wentao Zhang
Implement debugfs entries for serializing profiles and resetting counters/bitmaps. Also adds Source-based Code Coverage flags and kconfig options. This work reuses a portion of code from a previous effort by Sami Tolvanen et al. [1], specifically its debugfs interface and the underlying profile pr