Date: Fri, 17 Jan 2020 09:19:50 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Ed Maste <emaste@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? Message-ID: <20200117171950.GA79297@troutmask.apl.washington.edu> In-Reply-To: <CAPyFy2Bk6DTYrDgkhra9xP03bJZXq5vDkD8iXbTZZGpfj3MUZA@mail.gmail.com> References: <CAPyFy2Bk6DTYrDgkhra9xP03bJZXq5vDkD8iXbTZZGpfj3MUZA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200117171950.GA79297>