[DTrace-devel] [PATCH] dtprobed: handle multiple providers in a single piece of DOF

Eugene Loh eugene.loh at oracle.com
Fri Nov 15 02:42:12 UTC 2024


I'm losing track of versions, but at some point I think your patch fixed 
the (same) problem with a different script I was trying:


$ cat x.d
#pragma D attributes Evolving/Evolving/Common provider myprov provider
#pragma D attributes Private/Private/Unknown provider myprov module
#pragma D attributes Private/Private/Unknown provider myprov function
#pragma D attributes Evolving/Evolving/Common provider myprov name
#pragma D attributes Evolving/Evolving/Common provider myprov args
provider myprov
{
     probe entry();
};
$ build/run-dtrace -h -s x.d


I had been getting a segfault (like you).  Now it's simply:

dtrace: failed to compile script x.d: line 5: unused #pragma attributes




More information about the DTrace-devel mailing list