HP Caliper Environment Variables...........................................................................................
103
9 Controlling the Content of Reports.............................................................
104
Layout of an HP Caliper Text or CSV Report.............................................................................
Metrics You Can Use for Report Sorting and Cutoffs..................................................................
105
Module-Centric Reports.........................................................................................................
107
Process Summary.................................................................................................................
108
Function Details....................................................................................................................
109
Disassembly Listing...............................................................................................................
Branch Targets in Disassembly Listings................................................................................
110
Source Position Correlation....................................................................................................
Source Line Data.............................................................................................................
Address Types Shown............................................................................................................
How Functions Are Named in Reports.....................................................................................
111
Unnamed Functions..........................................................................................................
Unknown Functions..........................................................................................................
VSE Information Shown in Report Output (HP-UX only) ..................................................
HyperThreading Information for Dual-Core Itanium 2 and Itanium 9300 Quad-Core Processors Shown
in Report Output...................................................................................................................
112
How HP Caliper Saves Data in Databases...............................................................................
113
Names and Locations for the Databases.............................................................................
Changing the Default Name and Location......................................................................
Creating Reports from Multiple Databases...............................................................................
114
Using the caliper report Command to Create a Report from One or More Databases................
115
Using the caliper merge Command to Merge Data From Multiple Collection Runs....................
Using the caliper diff Command to Difference Data Collected in Two Databases......................
117
Example of How to Use the caliper diff Command...........................................................
119
10 Producing a Sampled Call Graph Profile Analysis.....................................
120
How Sampled Call Graph Profile Analysis Works.....................................................................
Differences Between scgprof and cgprof..................................................................................
Running the HP Caliper Sampled Call Graph Profile..................................................................
121
Sampled Call Graph Text Report Example ...............................................................................
Sampled Call Graph Profile Report Details...............................................................................
130
Flat Profile Part of the Report..............................................................................................
Call Graph Part of the Report............................................................................................
Hot Call Paths Part of the Report........................................................................................
Function Indexes..............................................................................................................
Diagnostic Messages........................................................................................................
131
gprof Fallacy and Possibly Misleading Results...........................................................................
11 Producing a Sampled Call Stack Profile Analysis.......................................
132
Running HP Caliper to Produce a Call Stack Profile...................................................................
Call Stack Profile Text Report Example for HP-UX.......................................................................
Call Stack Profile Text Report Example for Linux........................................................................
140
Call Stack Profile Report Details..............................................................................................
147
Blocking Primitives Summary Part of the Report....................................................................
Thread Synchronization Primitive's Holder and Waiter Thread Analysis (HP-UX 11.31 only)....
148
149
Avoids gprof Fallacy.............................................................................................................
Contents 7