This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

lack of __attribute__((instrument_functions))


Not strictly a bug...


When compiling with -finstrument-functions gcc will perform very
useful metering calls on entry and exit to functions.  This behavior
can be suppressed with __attribute__((no_instrument_functions))[1].

It would be ideal if there was a negative way to specify this, for
example, compile without -finstrument-functions and then specify
__attribute__((instrument_functions))[1] on those functions were you _DO_
want instrumentation.




  --cw

[1] plural seems kinda weird, its what you have now though


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]