Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2020 13:12:32 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
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:  <CAPyFy2CN1cDPHwDsUzCvYSd6FeyOb1jAEOWrfXX2N_rZFEqaEw@mail.gmail.com>
In-Reply-To: <20200117171950.GA79297@troutmask.apl.washington.edu>
References:  <CAPyFy2Bk6DTYrDgkhra9xP03bJZXq5vDkD8iXbTZZGpfj3MUZA@mail.gmail.com> <20200117171950.GA79297@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jan 2020 at 12:19, Steve Kargl
<sgk@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CN1cDPHwDsUzCvYSd6FeyOb1jAEOWrfXX2N_rZFEqaEw>