Re: Code instrumentation with GCC

2008-05-29 Thread Jan-Benedict Glaw
On Thu, 2008-05-29 12:03:05 +, Narech K <[EMAIL PROTECTED]> wrote: > Is there a way to make GCC to instrument every function it compiles with a > prologue/epilogue call to a user defined code a la MSVC's _penter and > _pexit, e.g.: > > http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx >

Re: Code instrumentation with GCC

2008-05-29 Thread Richard Guenther
On Thu, May 29, 2008 at 2:03 PM, Narech K <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a way to make GCC to instrument every function it compiles with a > prologue/epilogue call to a user defined code a la MSVC's _penter and > _pexit, e.g.: > > http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx

Code instrumentation with GCC

2008-05-29 Thread Narech K
Hi, Is there a way to make GCC to instrument every function it compiles with a prologue/epilogue call to a user defined code a la MSVC's _penter and _pexit, e.g.: http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx http://msdn.microsoft.com/en-us/library/xc11y76y.aspx If not, can anyone sugg