Up until now, you have been using the configuration menu in Shark’s main window (in Figure 7-1) to select from various built-in sampling methods. Each of these sampling methods is called a configuration (abbreviated as “configs"), and Shark saves each configuration as a separate configuration file (which is also often called a “config”). Each config file describes a variety of settings for Shark which enable it to sample or profile your application in a particular way, plus a summary of any hardware requirements that are necessary to use it.
Once you have gained some experience with Shark, you might want to change some of the settings or adjust some of the types of data Shark collects when a particular config is active. For example, you might adjust the default sample rate of the Time Profiling config to sample more often, if your examinations routinely need higher sampling resolution. This chapter gives an overview as to how this can be accomplished using Shark’s sophisticated Configuration Editor.
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
Last updated: 2008-04-14