Alfred Peng
2007-Jun-12 07:34 UTC
[dtrace-discuss] Can I define two user defined providers in one d file?
Hi guys,
I''m working on Mozilla DTrace. We''d like to create two
user defined
providers for Firefox: "mozilla" for general probes and
"javascript" for
javascript engine related probes. If I put these two providers in one d
file, add some probes and rebuild Firefox, both of them don''t work(no
probes are listed with "dtrace -P ''mozilla*'' -l").
If I only define one
provider, it works.
Can I define two user defined providers in one d file? Or I should
split them into two separated d files?
Thanks,
-Alfred
Adam Leventhal
2007-Jun-12 17:06 UTC
[dtrace-discuss] Can I define two user defined providers in one d file?
> Can I define two user defined providers in one d file? Or I should > split them into two separated d files?You can have two providers defined in the same D file. If you''re encountering a problemw with that, please let us know -- that would be a bug. Adam -- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl