>>>>> "M" == Matty  <matty91 at gmail.com> writes:

    M> Does anyone happen to know if there is a utility that will build a call
    M> tree for an application? I am debugging a large client-server
    M> application written in C, and would like to see the complete call path
    M> from main() to exit().  I have been able to determine shared library
    M> calls with truss -u, but the server core contains numerous functions
    M> that I would like to dump as well. While I can always add lots of
    M> printf()/write() calls to the code, I thought I would check to see if a
    M> better method exists.

Have you looked into DTrace?

Matt

-- 
        Matt Simmons - simmonmt at eng.sun.com | Solaris Kernel - New York
Sticks and stones may break my bones, but a hollow-point .38 slug could take out
                        my entire liver.  --Lev L. Spiro

Reply via email to