On Sat, Aug 29, 2009 at 01:23:34AM +0100, Joel Reymont wrote:
> Adam,
> 
> I heard from Brendan Gregg that you implemented some tricky code to  
> make sure dtrace got in very early in the process with -c ...
> 
> Can those tricks be implemented to catch a process very early with  
> exec-success (or similar) and trace it's dynamic linking, for example?
> 
> As it stands, exec-success seems to get in so late that I miss main()  
> sometimes.
> 
>       Thanks, Joel

That was me: you can use -x evaltime=mode

exec
preinit
postinit
main

preinit is the default.  exec stops in the linker on
return from exec(2) into the new process

-Mike

-- 
Mike Shapiro, Sun Microsystems Open Storage / Fishworks. blogs.sun.com/mws/
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to