A not so technical introduction to DTrace


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS A not so technical introduction to DTrace
# 1  
Old 04-21-2009
A not so technical introduction to DTrace

Article (blog) that gives a non-technical introduction to DTrace.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

DTRACE help required...

if dtrace -n 'syscall::open*:entry { printf("%i %s %s %s",uid,execname,cwd,copyinstr(arg0)); }' will show me all files that are opened as follows... 3 522 open:entry 0 init / /etc/inittab 3 522 open:entry 0 init /... (5 Replies)
Discussion started by: smurf4568
5 Replies

2. Solaris

PID Provider dtrace script

I'm just starting to mess about with dtrace on Solaris. How do I configure a probe in a PID provider dtrace script to trigger when the process being traced exits? I've tried pid$1:::exit where $1 is the PID but I get 'exit' is an invalid probe name (0 Replies)
Discussion started by: JerryHone
0 Replies
Login or Register to Ask a Question
fasttrap(7D)							      Devices							      fasttrap(7D)

NAME
fasttrap - DTrace user instruction tracing provider DESCRIPTION
The fasttrap driver is a DTrace dynamic tracing provider that performs dynamic instrumentation of arbitrary instructions in Solaris pro- cesses. The fasttrap driver implements the DTrace fasttrap and pid providers. The fasttrap driver is not a public interface and you access instrumentation offered by this provider through DTrace. Refer to the Solaris Dynamic Tracing Guide for a description of the public documented interfaces available for the DTrace facility and the probes offered by the fasttrap provider. SPARC ONLY
The fasttrap provider provides a DTrace probe that fires each time a user process executes an instruction. The pid provider allows for the dynamic creation of DTrace probes corresponding to instruction locations inside any user process specified using a process ID and an instruction address or symbol name. Together these providers permit DTrace users to perform instrumentation of Solaris user processes and to trace the interactions between processes and the operating system. See the chapter entitled "User Process Tracing" in the Solaris Dynamic Tracing Guide for information on how to use these providers to instrument processes. ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdtrp | +-----------------------------+-----------------------------+ |Interface Stability |Private | +-----------------------------+-----------------------------+ SEE ALSO
dtrace(1M), attributes(5), dtrace(7D) Solaris Dynamic Tracing Guide SunOS 5.10 4 Sep 2003 fasttrap(7D)