Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Tue, Oct 26, 2021 at 10:48:45PM +0700, Robert Elz wrote:
>     Date:        Tue, 26 Oct 2021 15:37:56 +0200
>     From:        Joerg Sonnenberger <joerg%bec.de@localhost>
>     Message-ID:  <YXgEtDQsRGtjxJ61%bec.de@localhost>
> 
>   | Personally, I would prefer to just kill -pg support completely, but
>   | that's a separate discussion.
> 
> Yes, it is.
> 
>   | I don't think per-file profiling is that useful
> 
> Nor do I in general.   However, doing routine call counting on mcount
> (or anything it calls) would simply be absurd.   If you want to
> know how mant times mcount has been called, you simply sum all the other
> counters.   (pc sampling, however it is done, detecting mcount is fine).

The existing attribute already does that.

Joerg


Home | Main Index | Thread Index | Old Index