Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 13:13:04 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Profiling shared libraries
Message-ID:  <363F98EE-AF54-475D-AF4A-F99BD3D3CCF9@gsoft.com.au>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_E84BC45A-F6A9-4A0A-93A5-76911D153DF2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,
I have a shared library which is loaded into a Tcl interpreter and also =
loads submodules and I would like to profile it. Unfortunately it seems =
gprof does not grok shared libraries. I did some googling and it look =
like Linux has sprof for this but I can't see a port for FreeBSD.

Does anyone have any other ideas?
I have looked at DTrace but it's a bit fiddly to get working with my =
systems in the field so I'd prefer a pure userland solution if possible.

Thanks

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C







--Apple-Mail=_E84BC45A-F6A9-4A0A-93A5-76911D153DF2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTN4S45ZPcIHs/zowRAm5xAJ9qm0abgTM5N2uOqr+p7tDdm01cXwCfZCiU
RdqcmVRVuTVOKW/Agkv19Ow=
=bVjb
-----END PGP SIGNATURE-----

--Apple-Mail=_E84BC45A-F6A9-4A0A-93A5-76911D153DF2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?363F98EE-AF54-475D-AF4A-F99BD3D3CCF9>