|
From: Nicholas N. <nj...@cs...> - 2005-08-04 14:56:16
|
On Thu, 4 Aug 2005, Josef Weidendorfer wrote:
> As callgrind wants the call graph of signal handlers in separate contexts, I
> track pre/post-signal hooks and do the call tracking accordingly.
> ...
> Is this some obscore VG bug, or is it expected that pre/post-signal hooks for
> VG tools are not called reliable (e.g. when a signal handler transfers
> control via longjmp)
It's expected. include/pub_tool_tooliface.h says:
/* Called after a signal is delivered. Nb: unfortunately, if the signal
handler longjmps, this won't be called. */
void VG_(track_post_deliver_signal)(void(*f)(ThreadId tid, Int sigNo));
It's always been like this, I believe.
I don't know if this is much help to you, though...
N
|