[PATCH] scripts/find-debuginfo.in: Add --no-per-file-msg
Mark Wielaard
mark@klomp.org
Thu Jan 26 15:02:50 GMT 2023
Hi Prarit,
On Mon, 2023-01-23 at 15:27 -0500, Prarit Bhargava wrote:
> Projects with a large number of compiled files end up with a large number
> of 'extracting debug info from' messages in the build log. In the case of
> the Fedora kernel these messages account for 8504 lines in the log, or 61%
> of the entire log [1].
>
> Removing these lines make the log easier to view and comprehend for some
> projects, however, not all projects will want to silence these messages so
> suppressing them must be optional.
>
> Add a --no-per-file-msg which allows users to disable the per file
> scanning message and in its place output a single general message in the
> log.
I appreciate the idea, but I think it is better to have a more standard
-q, --quiet option that simply suppresses all none error/warnings.
find-debuginfo already has too many specialized options IMHO.
Besides this "per file" output that is just these three extra output
lines:
echo "symlinked /usr/lib/debug$t to /usr/lib/debug${f}.debug"
echo "hard linked $link to $debugfn"
echo "original debug info size: ${size_before}kB, size after
compression: ${size_after}kB"
(For that last one, you can then also hide the size_before
and size_after calculations behind $quiet &&)
Cheers,
Mark
More information about the Debugedit
mailing list