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

From: Mauro Carvalho Chehab
Date: Tue Sep 28 2021 - 06:14:13 EST

Hi Greg,

As promised on


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(-)