]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool: Add WARN_INSN()
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 12 Apr 2023 19:03:17 +0000 (12:03 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 14 Apr 2023 14:08:28 +0000 (16:08 +0200)
commit246b2c85487a7bc5f6a09098e18a96506b1b55df
tree86736688a0958d0524f121e4f0d0b4025a0ac1a1
parent27d000d635ce48b579988e9b3240352a2a0306e0
objtool: Add WARN_INSN()

It's easier to use and also gives easy access to the instruction's
containing function, which is useful for printing that function's
symbol.  It will also be useful in the future for rate-limiting and
disassembly of warned functions.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/2eaa3155c90fba683d8723599f279c46025b75f3.1681325924.git.jpoimboe@kernel.org
tools/objtool/check.c
tools/objtool/include/objtool/warn.h
tools/objtool/orc_gen.c