static user probes

Roland McGrath roland@redhat.com
Thu Oct 2 21:52:00 GMT 2008


> helloprobes.d:
> provider hello {
>     probe printDemo(char*);
> };

Is this part of dtrace script syntax, or is a "provider" file actually a
disjoint syntax only used by the static-prep tool?

What are the constraints on the types you can specify here?
Anything that goes in a C99 prototype?

In script language, what type does "arg1" have?  Is it just a scalar, or
could you do something to dereference that pointer?  If so, cna you do
something complex with e.g. struct types, etc.?


Thanks,
Roland



More information about the Systemtap mailing list