Hi all,

I am trying to understand how to:

1. Auto generate the probe header from a probes.d file: Isn´t it as
simple as ´dtrace -h simple_probes.d', where śimple_probes.d:

<code>

provider simple {
 probe saw__word(int);
 probe saw__line(int);
};

</code>

however, when i do the above, I get: 'dtrace: -h requires one or more
scripts or enabling options´

(I am following:
http://blogs.sun.com/barts/entry/putting_user_defined_dtrace_probe)

2. How to generate custom probe header macros and how does it work?


This page here:
http://www.solarisinternals.com/wiki/index.php/DTrace_Topics_USDT#USDT_Macros
hints at it, but is rather incomplete.

Thank You!

Regards,
Amit

-- 
http://amitksaha.blogspot.com
http://amitsaha.in.googlepages.com/
*Bangalore Open Java Users Group*:http:www.bojug.in

"Recursion is the basic iteration mechanism in Scheme"
--- http://c2.com/cgi/wiki?TailRecursion
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to