![]() Previous |
![]() Next |
On OS X, you cannot set DTrace privileges for a normal user. You need to run with superuser privileges (that is, start the DTrace Recorder server with sudo
). The profiled application should preferably also be run with sudo
.
The default probe template (default.de
) is not complete for OS X (scheduling data and thread identifiers are missing). You can customize it yourself, and if you have any comments about it, provide your feedback on the forum at https://forums.oracle.com/community/developer/english/java/java_hotspot_virtual_machine/java_mission_control
If you start a DTrace recording on OS X using the default template, change the dropdown to use the OS X probes.