Re: mprof and new systems..

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Mon, 16 Jun 2008 00:58:41 -0700
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
Received on Mon Jun 16 2008 - 05:58:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC