Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 21:10:37 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        =?utf-8?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= <dumbbell@FreeBSD.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Build shared profiled library?
Message-ID:  <86vdpcuxxu.fsf@ds4.des.no>
In-Reply-To: <49DDCB1D.6080302@FreeBSD.org> (=?utf-8?Q?=22Jean-S=C3=A9bast?= =?utf-8?Q?ien_P=C3=A9dron=22's?= message of "Thu, 09 Apr 2009 12:17:01 %2B0200")
References:  <49DDCB1D.6080302@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jean-S=C3=A9bastien P=C3=A9dron <dumbbell@FreeBSD.org> writes:
> Currently, only static profiled library are built during buildworld. Why
> not shared library too?

Because - if I understand correctly how gprof works - you wouldn't be
able to profile code inside the libraries, unless gprof knew enough
about rtld to figure out which libraries were loaded, in which order, at
which addresses, and duplicate the relocations.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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