aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
authorJosh Poimboeuf <jpoimboe@kernel.org>2026-04-03 16:17:46 -0700
committerJosh Poimboeuf <jpoimboe@kernel.org>2026-05-04 21:16:04 -0700
commite950d2a10a30aa5f3ebb92d4bf807d1d5dd96de1 (patch)
treeedd9a706fdb12357cd3811464955474a2f591e20 /scripts
parentdf0d7bb04a27e48a0fb5fd32223f5ab248876cab (diff)
downloadlinux-next-history-e950d2a10a30aa5f3ebb92d4bf807d1d5dd96de1.tar.gz
klp-build: Print "objtool klp diff" command in verbose mode
Print the full objtool command line when '--verbose' is given to help with debugging. Acked-by: Song Liu <song@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/livepatch/klp-build1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build
index 2bb35de5db757..327aef4d9cf8e 100755
--- a/scripts/livepatch/klp-build
+++ b/scripts/livepatch/klp-build
@@ -681,6 +681,7 @@ diff_objects() {
(
cd "$ORIG_DIR"
+ [[ -v VERBOSE ]] && echo "cd $ORIG_DIR && ${cmd[*]}"
"${cmd[@]}" \
1> >(tee -a "$log") \
2> >(tee -a "$log" | "${filter[@]}" >&2) || \