mprof and new systems..
Maxim Sobolev
sobomax at FreeBSD.org
Mon Jun 16 07:58:47 UTC 2008
I am not sure if it's what you are looking for, but there s a small
BSD-licensed library at ports/devel/libexecinfo which provides portable
way to retrieve call graph without using any asm() magick.
Julian Elischer wrote:
> mprof is a memory allocation profiler.
>
> as part of what it does it reads the stack for a call graph.
>
> it finds the current frame pointer from the address of a variable on
> the stack
> and then from that traces back to previous return addresses.
Regards,
--
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
T/F: +1-646-651-1110
Web: http://www.sippysoft.com
More information about the freebsd-current
mailing list