JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.2: Performance Analyzer
search filter icon
search icon

Document Information

Preface

1.  Overview of the Performance Analyzer

2.  Performance Data

3.  Collecting Performance Data

4.  The Performance Analyzer Tool

5.  The er_print Command Line Performance Analysis Tool

6.  Understanding the Performance Analyzer and Its Data

7.  Understanding Annotated Source and Disassembly Data

8.  Manipulating Experiments

9.  Kernel Profiling

Kernel Experiments

Setting Up Your System for Kernel Profiling

Running the er_kernel Utility

Profiling the Kernel

Profiling Under Load

Profiling the Kernel and Load Together

Profiling a Specific Process or Kernel Thread

Analyzing a Kernel Profile

Index

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, add the following line to 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.