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.comReceived 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