Skip to content

get_abi: improve message output and fix a regression

Mauro Carvalho Chehab linux-doc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scripts: get_abi.pl: use STDERR for search-string and show-hintsscripts/get_abi.pl+7 -70 replies
2/3scripts: get_abi.pl: show progressscripts/get_abi.pl+108 -550 replies
3/3ABI: evm: place a second what at the next lineDocumentation/ABI/testing/evm+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] get_abi: improve message output and fix a regression

Hi Greg,

As promised on

	https://lore.kernel.org/lkml/[email protected]/T/#u

I'm adding progress info when get_abi.pl is checking for undefined ABI symbols on patches 1 and 2.

That will help not only to identify what is causing delays on the script, but also to notify the user that processing it could take some time on some systems.

If you run it on your big server with:

scripts/get_abi.pl undefined 2>logs

The "logs" file will contain timestamps relative to the time the script started to do the regex matches for sysfs files. It should be printing one line every time the progress completes 1% or one second after the last progress output.

-

Patch 3 is just a small fix for an issue introduced by an earlier change at the script (unrelated to the other two patches).

Mauro Carvalho Chehab (3):
scripts:: use STDERR for search-string and show-hints
scripts: get_abi.pl: show progress
ABI: evm: place a second what at the next line

 Documentation/ABI/testing/evm |   3 +-
 scripts/get_abi.pl            | 165 ++++++++++++++++++++++------------
 2 files changed, 111 insertions(+), 57 deletions(-)
Signature · 1 line
2.31.1