Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13?

Ed Maste emaste at freebsd.org
Fri Jan 17 18:12:47 UTC 2020


On Fri, 17 Jan 2020 at 12:19, Steve Kargl
<sgk at troutmask.apl.washington.edu> wrote:
>
> 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.

Have you tried sampling-based profiling (i.e., hwpmc)? I'm curious if
it provides equal utility for you, or if there's some shortcoming.


More information about the freebsd-current mailing list