Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Fri, 17 Jan 2020 09:19:50 -0800
On Fri, Jan 17, 2020 at 10:40:09AM -0500, Ed Maste wrote:
> 
> Any comments on this plan? Does anyone use the -pg compiler flag and
> the _p.a profiling library archives?
> 

Yes, I do.

I have WITHOUT_PROFILE='yes' set in /etc/make.conf for a normal
buildworld.  I then comment it out and specifically build libc_p.a
and libm_p.a.  These are the only profiled libraries I use.

Why?  Because adding -pg to the gfortran command line is sufficient
to getting profiling information for long running numerically
intensive codes.  'gfortran -pg', of course, loosk for libc_p.a
and libm_p.a.

-- 
Steve
Received on Fri Jan 17 2020 - 16:19:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC