[PATCH] scripts/find-debuginfo.in: Add --no-per-file-msg
Prarit Bhargava
prarit@redhat.com
Thu Jan 26 15:21:36 GMT 2023
On 1/26/23 10:02, Mark Wielaard wrote:
> 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.
>
Heh, I thought about doing this but wasn't sure if there needed to be a
quiet option. It's good to know you're open to this idea.
> 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 &&)
I'll look at this and post a --quiet option.
Thanks,
P.
More information about the Debugedit
mailing list