Hell all, I am working on an article on DTrace. I am trying to explain that there are basically two (or more?) ways in which probes can be written for user level processes. Here is what I know and have written:
"" For user-level code, there are two ways in which probes can be defined- User-Level Statically Defined Tracing (USDT) or PID provider. In USDT, custom probe points are inserted into application code according to well defined guidelines and practices. Once the custom probe points are integrated and the application code is compiled and the binary is run, the probes become available for consumption by DTrace user level consumers. Note that, the probe points are activated only when the binary is running. Does this mean that DTrace cannot be used with applications with no USDT probes defined? No. The PID provider can be used to probe any user level process, whether USDT probes was defined for it or not. Using the PID provider is a very generic and easy way to play around with DTrace. Code a simple application in your favorite programming language and have fun with DTrace by observing the function call flow, stack trace and lots more """ Could any of you please verify the correctness of what I know? Thanks a lot! Best, Amit -- Amit Kumar Saha 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