Tool to trace function calls

Discussion in 'C Programming' started by Thomas Glanzmann, Jun 27, 2005.

  1. Hello,
    I am looking for a tool like strace or ltrace that accounts every 'call'
    on x86 executables. Maybe has valgrind such a option?

    Thomas
     
    Thomas Glanzmann, Jun 27, 2005
    #1
    1. Advertising

  2. Thomas Glanzmann

    Artie Gold Guest

    Thomas Glanzmann wrote:
    > Hello,
    > I am looking for a tool like strace or ltrace that accounts every 'call'
    > on x86 executables. Maybe has valgrind such a option?
    >
    > Thomas


    As such things are inherently platform-specific, posting to a newsgroup
    specific to your platform would be best; tools are not topical here.

    HTH,
    --ag
    --
    Artie Gold -- Austin, Texas
    http://it-matters.blogspot.com (new post 12/5)
    http://www.cafepress.com/goldsays
     
    Artie Gold, Jun 27, 2005
    #2
    1. Advertising

  3. Thomas Glanzmann

    Grumble Guest

    Thomas Glanzmann wrote:

    > I am looking for a tool like strace or ltrace that accounts every 'call'
    > on x86 executables. Maybe has valgrind such a option?


    A call graph? man gprof
     
    Grumble, Jun 28, 2005
    #3
  4. Thomas Glanzmann

    Morris Dovey Guest

    Thomas Glanzmann (in
    -erlangen.de) said:

    | I am looking for a tool like strace or ltrace that accounts every
    | 'call' on x86 executables. Maybe has valgrind such a option?

    Thomas...

    Hmm. I wrote a small trace utility to trace calls to malloc() and
    friends. It should be possible to use that as a model for code to
    trace an arbitrary set of functions. If interested, you can find the
    source at http://www.iedu.com/mrd/c/mtrace.c - have fun! :)

    --
    Morris Dovey
    DeSoto, Iowa USA
    C links at http://www.iedu.com/c/
     
    Morris Dovey, Jun 29, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rukmal Fernando
    Replies:
    4
    Views:
    894
    Richard Grimes [MVP]
    Oct 27, 2003
  2. Joerg Schoen
    Replies:
    0
    Views:
    465
    Joerg Schoen
    Jun 28, 2004
  3. Tool to monitor/trace all method calls?

    , Jul 6, 2005, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    246
  4. Rukmal Fernando

    Trace: Can anyone suggest a good tool to catch trace messages?

    Rukmal Fernando, Oct 10, 2003, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    327
    Richard Grimes [MVP]
    Oct 27, 2003
  5. Bob
    Replies:
    5
    Views:
    290
Loading...

Share This Page