[EMAIL PROTECTED] wrote: > Hi Roman, > >> On Wed, 2008-04-30 at 17:51 +0200, [EMAIL PROTECTED] wrote: >>>> Well, if you're really talking about re-inserting probes into a >>>> completely new image (after the exec) >>>> than I consider DTrace to be doing exactly the right thing -- these >>>> are brand new probes so they have to be reinserted. >>> I am dealing with same problem as Bayard trying to trace child processes. >>> >From Roman's answer I do not exactly know if it is possible or not. >> It is possible via the system action that would reinsert the probes >> into the brand new PID. > > I tried to use system() to reinsert probes using proc:::exec-success or > proc:::start but > execution of the process in which context it was fired is not synchronized > with new dtrace > instance started in system(). The result is that with this I can't trace > short-lived > processes because they are finished before new dtrace instance in system() > reinserts > probes (it takes some time). > > Do you know some workaround ?
the usual thing to do is to stop() the process in question and then do the system() thing. HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' _______________________________________________ dtrace-discuss mailing list [email protected]
