]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
objtool: Add option to trace function validation
authorAlexandre Chartre <alexandre.chartre@oracle.com>
Fri, 21 Nov 2025 09:53:20 +0000 (10:53 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 21 Nov 2025 14:30:09 +0000 (15:30 +0100)
commit70589843b36fee0c6e73632469da4e5fd11f0968
treeec571afb216ca9c4ad28de11288109257cd10b69
parentde0248fbbf999d0fd3ca2aa5ba515ab78703d129
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
tools/objtool/Build
tools/objtool/builtin-check.c
tools/objtool/check.c
tools/objtool/disas.c
tools/objtool/include/objtool/builtin.h
tools/objtool/include/objtool/check.h
tools/objtool/include/objtool/disas.h
tools/objtool/include/objtool/trace.h [new file with mode: 0644]
tools/objtool/include/objtool/warn.h
tools/objtool/trace.c [new file with mode: 0644]