HP Caliper User's Guide

Call Stack Profile Report Details
This section gives some information about the sampled call stack profile report.
Flat Profile Part of the Report
The flat profile part of the report contains two levels of information:
Function Summary: exact counts of direct sample hits in function, summed across
an entire run of a measured application
Function Details: sampled PCs that are associated with the particular locations in
the measured application
You can specify how to arrange the results in the flat profile with the --sort-by
option. The valid sorting parameters are:
samples (default)
samples-running (HP-UX only)
samples-blocked (HP-UX only)
Blocking Primitives Summary Part of the Report
This section reports the exact counts and percentages of samples blocked waiting for
a primitive. You can use the --prim-cutoff option to specify cutoff values that limit
the blocking primitives reported in this section.
Thread Synchronization Primitive's Holder and Waiter Thread Analysis (HP-UX 11.31 only)
The Caliper cstack measurement supports holder and waiter thread analysis of
synchronization primitives in a multi-threaded application. Currently this feature is
available for pthread mutexes on HP-UX 11.31 only. To exploit this feature, the target
application needs to be linked with libpthread version 11.31_BL2009_1012_2 (or later).
The pthread library is available with cumulative patch PHCO_40211.
Example 11-1 shows a report produced by a sample cstack run.
Call Stack Profile Report Details 191