summaryrefslogtreecommitdiff
path: root/tools/objtool/Build
diff options
context:
space:
mode:
authorAlexandre Chartre <alexandre.chartre@oracle.com>2025-11-21 12:53:20 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-11-21 17:30:09 +0300
commit70589843b36fee0c6e73632469da4e5fd11f0968 (patch)
treeec571afb216ca9c4ad28de11288109257cd10b69 /tools/objtool/Build
parentde0248fbbf999d0fd3ca2aa5ba515ab78703d129 (diff)
downloadlinux-70589843b36fee0c6e73632469da4e5fd11f0968.tar.xz
objtool: Add option to trace function validation
Add an option to trace and have information during the validation of specified functions. Functions are specified with the --trace option which can be a single function name (e.g. --trace foo to trace the function with the name "foo"), or a shell wildcard pattern (e.g. --trace foo* to trace all functions with a name starting with "foo"). Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Link: https://patch.msgid.link/20251121095340.464045-11-alexandre.chartre@oracle.com
Diffstat (limited to 'tools/objtool/Build')
-rw-r--r--tools/objtool/Build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/Build b/tools/objtool/Build
index 9d1e8f28ef95..9982e665d58d 100644
--- a/tools/objtool/Build
+++ b/tools/objtool/Build
@@ -9,6 +9,7 @@ objtool-y += elf.o
objtool-y += objtool.o
objtool-$(BUILD_DISAS) += disas.o
+objtool-$(BUILD_DISAS) += trace.o
objtool-$(BUILD_ORC) += orc_gen.o orc_dump.o
objtool-$(BUILD_KLP) += builtin-klp.o klp-diff.o klp-post-link.o