[ltt-dev] UST Instrumenting function entries and exits
Michel Dagenais
michel.dagenais at polymtl.ca
Fri May 13 11:08:18 EDT 2011
> 2) Exceptions
> In C++ the software designer could use exceptions to exit methods in for
> example an error case. Does this instrumentation cover this, too?
I believe that the gcc instrument-function hook takes care of that, all exceptions go through the cleanup code at the end of the function before popping the stack. You should check the generated assembly to be sure (gcc -S).
More information about the lttng-dev
mailing list