On Sat, May 17, 2008 at 01:17:11AM +0200, Mikael Ronstr?m
wrote:> I''m wondering about what dtrace -G -s probes.d code.o is doing.
> Does this command change the code.o object file or is it only
> creating an probes.o
> object file. I''m wondering how I can gather many dtrace probes
from many
> different directories in one provider to see if this is possible.
Hi Mikael,
dtrace -G scans through all the object files you specify both collecting data
and modifying them. It then produces the output object file using the source
D file and the data collected from the object files.
You can specify as many object files as you like to the dtrace(1M) invocation
regardless of what directories they''re in.
Adam
--
Adam Leventhal, Fishworks http://blogs.sun.com/ahl