]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/resolve_btfids: Add --fatal_warnings option
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 4 Dec 2024 19:37:44 +0000 (20:37 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 10 Dec 2024 16:56:18 +0000 (17:56 +0100)
commitb70b073979ebf7a5271e7ce655ea1c25b4673f04
tree04d818b2cffac0096f4f82143948291843ea0a26
parent4d33dc1bc31df80356c49e40dbd3ddff19500bcb
tools/resolve_btfids: Add --fatal_warnings option

Currently warnings emitted by resolve_btfids are buried in the build log
and are slipping into mainline frequently.

Add an option to elevate warnings to hard errors so the CI bots can catch
any new warnings.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20241204-resolve_btfids-v3-1-e6a279a74cfd@weissschuh.net
tools/bpf/resolve_btfids/main.c