On Tue, Mar 03, 2026 at 10:25:19PM +0100, Geert Uytterhoeven wrote:
FTR, arch/arc/kernel/unwind.c, arch/sh/kernel/dwarf.c, and tools/perf/util/genelf_debug.calready have (different) LEB128 accessors, so there is an opportunity for consolidation.
Looks like this happens in few other places too... I've created the following (build-tested-only) series on top of the LINEINFO patches to try and consolidate this: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git/log/?h=dedup-lsb128 I can send it out after we figure out what to do with the LINEINFO patches :) -- Thanks, Sasha

