From: Nicholas N. <nj...@cs...> - 2007-10-27 23:21:19
|
On Sat, 27 Oct 2007, Shahriyar Amini wrote: > Is it possible to have on demand instrumentation through Valgrind? What > I am looking for is to be able to turn on Valgrind while in middle of a > process, or start the process on Valgrind, but only start instrumenting > on some external input to Valgrind. You cannot start the program natively and then attach Valgrind. Tools can be written so that they do no instrumentation to begin with (which results in a typical 4--5x slowdown) and then start instrumenting code on some kind of external event. The Callgrind tool allows this, but no others currently do. Nick |