Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/solaris/sample/dtrace/README.txt
32285 views
DTrace HotSpot probes samples1=============================23This directory contains the list of D scripts which could be used to trace4Java application with help of Solaris(tm) 10 Dynamic Tracing (DTrace)5probes.67The directory is organized as:89* helpers/1011This directory contains the auxiliary script to launch Java application12with D script to debug. See more comments in the scripts.1314* hotspot/1516This directory contains D scripts which demonstrate usage of 'hotspot'17provider probes.181920* hotspot_jni/2122This directory contains D scripts which demonstrate usage of 'hotspot_jni'23provider probes.24252627Requirements to run DTrace28==========================29301. dtrace framework should be installed; (check if /usr/sbin/dtrace exists)31322. the user should have the following rights:33dtrace_proc, dtrace_user, dtrace_kernel3435To give a user a privilege on login, insert a line into the36/etc/user_attr file of the form:37user-name::::defaultpriv=basic,dtrace_proc,dtrace_user,dtrace_kernel3839or4041To give a running process an DTrace privilege, use the ppriv(1) command:42# ppriv -s A+privilege process-ID434445