tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dlopen() and -pg



On Tue, Nov 26, 2019 at 04:05:22PM +0100, Manuel Bouyer wrote:
> On Tue, Nov 26, 2019 at 03:24:20PM +0100, Joerg Sonnenberger wrote:
> > On Tue, Nov 26, 2019 at 03:18:03PM +0100, Manuel Bouyer wrote:
> > > trying to profile a c++ program which uses dlopen and pthreads (opencpn, FWIW),
> > 
> > I'm not surprised at all. -pg will only work reliable with -static.
> 
> And I can't link statically, as it depends on libraries that are only available
> as .so.
> 
> Is there some other profiling tools working on NetBSD ?

devel/gperftools?

Joerg


Home | Main Index | Thread Index | Old Index