This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
lack of __attribute__((instrument_functions))
- From: Chris Wedgwood <cw at f00f dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Jan 2002 19:19:46 -0800
- Subject: 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