summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2025-03-14 22:29:11 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-03-17 13:51:44 +0300
commit36799069b48198e5ce92d99310060c4aecb4b3e3 (patch)
tree92a2c5f313286a6f26aeadbf56af0c812385aed6 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentaa8b3e64fd397eddd6a627d148a964e4bc2ed9ab (diff)
downloadlinux-36799069b48198e5ce92d99310060c4aecb4b3e3.tar.xz
objtool: Add CONFIG_OBJTOOL_WERROR
Objtool warnings can be indicative of crashes, broken live patching, or even boot failures. Ignoring them is not recommended. Add CONFIG_OBJTOOL_WERROR to upgrade objtool warnings to errors by enabling the objtool --Werror option. Also set --backtrace to print the branches leading up to the warning, which can help considerably when debugging certain warnings. To avoid breaking bots too badly for now, make it the default for real world builds only (!COMPILE_TEST). Co-developed-by: Brendan Jackman <jackmanb@google.com> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/3e7c109313ff15da6c80788965cc7450115b0196.1741975349.git.jpoimboe@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions