mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PROPOSAL] Replace gcov and kcov with llvm-cov
@ 2026-10-06 15:14 Chuck Wolber
  2026-10-06 16:10 ` Marco Elver
  0 siblings, 1 reply; 6+ messages in thread
From: Chuck Wolber @ 2026-10-06 15:14 UTC (permalink / raw)
  To: kasan-dev, nathan, akpm, anton.ivanov, oberpar, ardb, arnd,
	bhelgaas, bp, dave.hansen, dvyukov, hpa, jinghao7, johannes,
	jpoimboe, justinstitt, kees, kent.overstreet, linux-arch,
	linux-efi, linux-kbuild, linux-kernel, linux-trace-kernel,
	linux-um, llvm, luto, marinov, masahiroy, maskray,
	mathieu.desnoyers, mhiramat, mingo, morbo, ndesaulniers, paulmck,
	richard, rostedt, samitolvanen, tglx, tingxur, tyxu, wentaoz5,
	x86, peterz, sashal, elver


Stemming from some hallway track conversations with maintainers at LPC
2026, I propose replacing gcov and kcov in the kernel with llvm-cov.

llvm-cov instruments at the AST which enables precise mapping back to
source code regardless of optimization level.

We have a set of patches [1] that implements kernel based llvm-cov. They
need to be updated and some additional patches are required to address
some stubs that are missing noinstr annotation. But otherwise I should
be able to send a full set of patches (including taking on the
maintainer role) to remove gcov and kcov and replace it with llvm-cov in
fairly short order.

If there is a desire to take this in pieces or implement other
intermediate steps, let me know. Otherwise I can generate a monolithic
set all at once.

[1] https://lore.kernel.org/lkml/20240905043245.1389509-1-wentaoz5@illinois.edu/

Thank you,

..Ch:W..

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-07  4:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 15:14 [PROPOSAL] Replace gcov and kcov with llvm-cov Chuck Wolber
2026-10-06 16:10 ` Marco Elver
2026-10-06 16:27   ` Chuck Wolber
2026-10-07  2:30     ` Masami Hiramatsu
2026-10-07  4:17       ` Chuck Wolber
2026-10-07  4:50         ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®