in reply to parsing C functions.

Modifying the source code looks pretty dangerous to me. Most likely you should use a profiler instead, it should be able to do the logging. It would be best though to ask elsewhere. This is a site about Perl, not C.

Jenda
Enoch was right!
Enjoy the last years of Rome.