|
From: Vladimir S. <vla...@gm...> - 2008-04-17 14:56:38
|
Hi, I'm trying to raise a synchronous signal from Valgrind before some detected specific load, so I can halt before that load and call some function from the user code. I'm raising the signal with VG_(kill)(VG_(getpid)(), VKI_SIGUSR1) but it is not served synchronously. My signal handler from the user code takes a lot of time to catch this signal. ¿How can I issue synchronous signal? Is there any other way to detect some instruction in Valgrind (somewhere in the middle of the block) and call some function from the user code before that instruction. Signal handler to be called doesn't have to be in the user code, but would contain some calls to MPI library (so I don't se where else could it be) thanks in advance Vladimir Subotic |