no_instrument_function with g++

David Smith
Sat May 25 01:02:00 GMT 2002

I'm trying to use -finstrument-functions to profile a c++ program. I
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

g++ --version = 2.95.4

David Smith

More information about the Gcc-help mailing list