no_instrument_function with g++

David Smith dsmith@algonet.se
Sat May 25 01:02:00 GMT 2002


I'm trying to use -finstrument-functions to profile a c++ program. I
have 
added __attribute__((no_instrument_function)) to avoid instrument small 
inlined function, but it does not seem to have any effect. The functions 
are instrumented even with the attribute.

Is no_instrument_function not avaiable in g++ or am I doing something
wrong?

g++ --version = 2.95.4

Regards,
David Smith



More information about the Gcc-help mailing list