Go to main content
Oracle® Developer Studio 12.5: Performance Analyzer

Exit Print View

Updated: June 2016
 
 

Setting Up Your System for Kernel Profiling

Before you can use the er_kernel utility for kernel profiling, you need to set up access to DTrace.

Normally, DTrace is restricted to user root. To run er_kernel utility as a user other than root, you must have specific privileges assigned, and be a member of group sys. To assign the necessary privileges, edit the line for your username as follows in the file /etc/user_attr:

username::::defaultpriv=basic,dtrace_kernel,dtrace_proc

To add yourself to the group sys, add your user name to the sys line in the file /etc/group.