Shark User Guide
PDF
Introduction
Getting Started with Shark
Main Window
Perform Sampling
Session Windows and Files
Shark Preferences
Time Profiling
Statistical Sampling
Taking a Time Profile
Profile Browser
Chart View
Code Browser
Tips and Tricks
Example: Optimizing MPEG-2 using Time Profiles
System Tracing
Tracing Methodology
Basic Usage
Interpreting Sessions
Sign Posts
Tips and Tricks
Other Profiling and Tracing Techniques
Time Profile (All Thread States)
Malloc Trace
Static Analysis
Using Shark with Java Programs
Event Counting and Profiling Overview
Advanced Profiling Control
Process Attach
Process Launch
Batch Mode
Windowed Time Facility (WTF)
Unresponsive Application Measurements
Command Line Shark
Interprocess Remote Control
Network/iPhone Profiling
Advanced Session Management and Data Mining
Automatic Symbolication Troubleshooting
Manual Session Symbolication
Managing Sessions
Data Mining
Example: Using Data Mining with a Time Profile
Example: Graphical Analysis using Chart View with a Malloc Trace
Custom Configurations
The Config Editor
Simple Timed Samples and Counters Config Editor
Malloc Data Source PlugIn Editor
Static Analysis Data Source PlugIn Editor
Java Trace Data Source PlugIn Editor
Sampler Data Source PlugIn Editor
System Trace Data Source PlugIn Editor
All Thread States Data Source PlugIn Editor
Analysis and Viewer PlugIn Summary
Counter Spreadsheet Analysis PlugIn Editor
Hardware Counter Configuration
Configuring the Sampling Technique: The Sampling Tab
Common Elements in Performance Counter Configuration Tabs
MacOS X OS-Level Counters Configuration
Intel CPU Performance Counter Configuration
PowerPC G3/G4/G4+ CPU Performance Counter Configuration
PowerPC G5 (970) Performance Counter Configuration
PowerPC North Bridge Counter Configuration
ARM11 CPU Performance Counter Configuration
Appendix A: Command Reference
Menu Reference
Alphabetical Reference
Appendix B: Miscellaneous Topics
Code Analysis with the G5 (PPC970) Model
Supervisor Space Sampling Guidelines
Appendix C: Intel Core Performance Counter Event List
Appendix D: Intel Core 2 Performance Counter Event List
Appendix E: PPC 750 (G3) Performance Counter Event List
Appendix F: PPC 7400 (G4) Performance Counter Event List
Appendix G: PPC 7450 (G4+) Performance Counter Event List
Appendix H: PPC 970 (G5) Performance Counter Event List
Appendix I: UniNorth-2 (U1.5/2) Performance Counter Event List
Appendix J: UniNorth-3 (U3) Performance Counter Event List
Appendix K: Kodiak (U4) Performance Counter Event List
Appendix L: ARM11 Performance Counter Event List
Revision History