> > I'm not really clear on where you want to do this. Do you want to use a > compiler option to change the way that your code is compiled? gcc > doesn't have anything like that today (other than > -finstrument-functions). I would like to do exactly what can be done with __cyg_profile_func_exit but for one particular function (without using a compiler option if possible). The problem that i have with the -finstrument-functions is that it instruments all the functions. I want to know if there's an easy way to do leveraging some hooks in gcc... Thanks Laurent