1DTrace HotSpot probes samples 2============================= 3 4This directory contains the list of D scripts which could be used to trace 5Java application with help of Solaris(tm) 10 Dynamic Tracing (DTrace) 6probes. 7 8The directory is organized as: 9 10* helpers/ 11 12 This directory contains the auxiliary script to launch Java application 13 with D script to debug. See more comments in the scripts. 14 15* hotspot/ 16 17 This directory contains D scripts which demonstrate usage of 'hotspot' 18 provider probes. 19 20 21* hotspot_jni/ 22 23 This directory contains D scripts which demonstrate usage of 'hotspot_jni' 24 provider probes. 25 26 27 28Requirements to run DTrace 29========================== 30 311. dtrace framework should be installed; (check if /usr/sbin/dtrace exists) 32 332. the user should have the following rights: 34 dtrace_proc, dtrace_user, dtrace_kernel 35 36 To give a user a privilege on login, insert a line into the 37 /etc/user_attr file of the form: 38 user-name::::defaultpriv=basic,dtrace_proc,dtrace_user,dtrace_kernel 39 40 or 41 42 To give a running process an DTrace privilege, use the ppriv(1) command: 43 # ppriv -s A+privilege process-ID 44