]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Add the --disas=<function-pattern> action
authorAlexandre Chartre <alexandre.chartre@oracle.com>
Fri, 21 Nov 2025 09:53:27 +0000 (10:53 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 21 Nov 2025 14:30:12 +0000 (15:30 +0100)
commit5f326c88973691232c0e56ced83c199d53d86766
treea2d8f50bad1c11aeaa6eb876f664f583889f41d7
parentc3b7d044fc5ac99a31ce9420431b90e21ed55503
objtool: Add the --disas=<function-pattern> action

Add the --disas=<function-pattern> actions to disassemble the specified
functions. The function pattern can be a single function name (e.g.
--disas foo to disassemble the function with the name "foo"), or a shell
wildcard pattern (e.g. --disas foo* to disassemble 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-18-alexandre.chartre@oracle.com
tools/objtool/builtin-check.c
tools/objtool/check.c
tools/objtool/disas.c
tools/objtool/include/objtool/builtin.h
tools/objtool/include/objtool/disas.h