All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] objtool: warning improvements
@ 2023-03-27 16:00 Josh Poimboeuf
  2023-03-27 16:00 ` [PATCH 1/5] objtool: Add '--verbose' option for disassembling affected functions Josh Poimboeuf
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Josh Poimboeuf @ 2023-03-27 16:00 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel, Peter Zijlstra

Add some user-friendliness to the warnings:

- Add OBJTOOL_ARGS="--verbose" option for making it easier to debug
  objtool warnings over email

- Remove per-file rate limiting (doesn't make sense for vmlinux.o)

- Add "missing __noreturn" warning

Josh Poimboeuf (5):
  objtool: Add '--verbose' option for disassembling affected functions
  objtool: Combine '--backtrace' with '--verbose'
  objtool: Remove superfluous dead_end_function() check
  objtool: Add per-function rate limiting for unreachable warnings
  objtool: Add "missing __noreturn" warning

 tools/objtool/Documentation/objtool.txt | 12 ++++++
 tools/objtool/builtin-check.c           |  2 +-
 tools/objtool/check.c                   | 45 ++++++++++++---------
 tools/objtool/include/objtool/builtin.h |  2 +-
 tools/objtool/include/objtool/elf.h     |  1 +
 tools/objtool/include/objtool/warn.h    | 52 ++++++++++++++++++++++---
 6 files changed, 88 insertions(+), 26 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-03-29 16:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 16:00 [PATCH 0/5] objtool: warning improvements Josh Poimboeuf
2023-03-27 16:00 ` [PATCH 1/5] objtool: Add '--verbose' option for disassembling affected functions Josh Poimboeuf
2023-03-28  8:47   ` Miroslav Benes
2023-03-27 16:00 ` [PATCH 2/5] objtool: Combine '--backtrace' with '--verbose' Josh Poimboeuf
2023-03-28  8:07   ` Peter Zijlstra
2023-03-28 20:19     ` Josh Poimboeuf
2023-03-29  7:25       ` Peter Zijlstra
2023-03-27 16:00 ` [PATCH 3/5] objtool: Remove superfluous dead_end_function() check Josh Poimboeuf
2023-03-27 16:00 ` [PATCH 4/5] objtool: Add per-function rate limiting for unreachable warnings Josh Poimboeuf
2023-03-28  8:11   ` Peter Zijlstra
2023-03-28 20:22     ` Josh Poimboeuf
2023-03-29  7:26       ` Peter Zijlstra
2023-03-28  9:07   ` Miroslav Benes
2023-03-27 16:00 ` [PATCH 5/5] objtool: Add "missing __noreturn" warning Josh Poimboeuf
2023-03-28  9:10   ` Miroslav Benes
2023-03-29 16:24     ` Josh Poimboeuf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.