[dtrace-discuss] Can I define two user defined providers in one d file?

Alfred Peng Alfred.Peng at Sun.COM
Tue Jun 12 00:34:56 PDT 2007


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


More information about the dtrace-discuss mailing list