]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool/klp: Add --debug option to show cloning decisions
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:04:00 +0000 (09:04 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:50:18 +0000 (14:50 -0700)
commit7c2575a6406fb85946b05d8dcc856686d3156354
treebdc79df5a36ce0f3770a052fba807f277403e692
parentdd590d4d57ebeeb826823c288741f2ed20f452af
objtool/klp: Add --debug option to show cloning decisions

Add a --debug option to klp diff which prints cloning decisions and an
indented dependency tree for all cloned symbols and relocations.  This
helps visualize which symbols and relocations were included and why.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/include/objtool/warn.h
tools/objtool/klp-diff.c
tools/objtool/objtool.c