Re: How to use xtrace?

From: Bjorn Reese (breese_at_see.signature)
Date: 04/28/05

  • Next message: Gordon Burditt: "Re: File name from stream"
    Date: Thu, 28 Apr 2005 18:49:11 +0200
    
    

    BlueOwl wrote:
    > I need to trace program flow (trace user function calls).
    > I have found a script xtrace from glibc which promises to do that. But if I

    As you mention glibc, I assume that your compiler is gcc.

    Have a look at the -finstrument-functions option for gcc.

    -- 
    mail1dotstofanetdotdk
    

  • Next message: Gordon Burditt: "Re: File name from stream"

    Relevant Pages

    • How to use xtrace?
      ... I need to trace program flow. ... I have found a script xtrace from glibc which promises to do that. ...
      (comp.unix.programmer)
    • Re: math.nroot [was Re: A brief question.]
      ... >> happy to use gcc, they all could have used the older gcc spellings ... parings of C compilers and C runtime libraries are ... use glibc, they all could have used the older glibc spellings. ... trap doesn't actually fire until the _next_ fp operation ...
      (comp.lang.python)
    • Re: recommendation for toolchain
      ... What toolchain can you recommend to me? ... Building a cross-GCC for Linux shouldn't be any harder than building ... When producing GCC one needs premade binutils and a premade C ... So if you can find an existing premade glibc for the ...
      (comp.arch.embedded)
    • Re: Recommended compiler version and NPTL
      ... There is one more place except the r8169 driver where gcc 2.95.3 is bad. ... Check out a known good glibc from CVS: ... If you get a failure, make a note of it and reissue the "make ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: memory required to emerge glibc and gcc?
      ... > How much memory is required to compile glibc and gcc? ... > I was comparing 2 machines to look at runtimes to emerge glibc and gcc on ... > even be slower to emerge gcc. ...
      (comp.os.linux.hardware)