On 30/06/11 14:09, Julian Seward wrote: >> What you need to look at is VG_(atfork) in include/pub_tool_libcproc.h >> anyway, which will let you register callbacks to be called at various >> points in the fork process. > > That's not part of the formal core-tool interface though. > Another possibility is to use the VG_(needs_syscall_wrapper) > facility in the core-tool interface, which allows your tool to > be notified of all system calls, arguments and results, before > and after the syscalls, and then ignore all of them except __NR_fork.
I thought anything in a pub_tool_* header was available to tools? Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users