Re: It's time to kill statistical profiling

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sun, 20 Jun 2021 14:08:25 -0700
On Sun, Jun 20, 2021 at 03:18:31PM -0400, Ed Maste wrote:
> On Fri, 18 Jun 2021 at 11:13, John Baldwin <jhb_at_freebsd.org> wrote:
> >
> > As Konstantin has noted, we already no longer build or ship
> > -pg libraries by default.
> 
> Kostik was talking about only kernel -pg support I believe; we still
> build _p.a libraries by default. I floated the idea of disabling them
> by default but there was some opposition and I didn't proceed.
> 
> It seems like it is in fact past time to disable them by default, and
> I've now put the change in review at
> https://reviews.freebsd.org/D30833.

Are there plans to replace the _p.a with something
that allows profiling code?  If not, are you upstreaming
patches to GCC to disable -pg?  AFAIK, 'gcc10 -pg ... -lm'
causes gcc to look for at least libc_p.a and libm_p.a.  

-- 
Steve
Received on Sun Jun 20 2021 - 21:08:25 UTC

Original text of this message