]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool/klp: Add "objtool klp checksum" subcommand
authorJosh Poimboeuf <jpoimboe@kernel.org>
Fri, 3 Apr 2026 20:08:32 +0000 (13:08 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 5 May 2026 04:16:05 +0000 (21:16 -0700)
commite10764614ad634071d3bc8cfbf8bce43285d458d
tree55fd2242a31938d4261dfa1d6de300067cb0cd9f
parenta5b6612332622d809e5c0a4f5637eef92dc06c06
objtool/klp: Add "objtool klp checksum" subcommand

Move the checksum functionality out of the main objtool command into a
new "objtool klp checksum" subcommand.

This has the benefit of making the code (and the patch generation
process itself) more modular.

For bisectability, both "objtool --checksum" and "objtool klp checksum"
work for now.  The former will be removed after klp-build has been
converted to use the new subcommand.

Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/Build
tools/objtool/builtin-klp.c
tools/objtool/check.c
tools/objtool/include/objtool/check.h
tools/objtool/include/objtool/checksum.h
tools/objtool/include/objtool/klp.h
tools/objtool/klp-checksum.c [new file with mode: 0644]
tools/objtool/klp-diff.c