Overview
The P03 report is used for source mapping DWARF programs. It requires the programs to have debug files in the ELF/DWARF format associated with them.
This report maps measured CPU or Wait activity to its corresponding source program statements. Use the “P” line command, on an eligible line command field (see below), to launch this report. Source statements from a single compile unit are shown. A count or percent value is shown for the statement selected in which CPU activity was measured; the count value indicates the number of times execution of the statement was observed. A percent value shows the percent as calculated on the report. Optionally, depending on a SETUP option, the counts are also shown graphically.
A sample report is shown here.
File View Navigate Help
--------------------------------------------------------------------------------
P03: DWARF Source Program Attribution (0539/JVMTST01) Row 00028 of 00047
Command ===> __________________________________________________ Scroll ===> PAGE
LineNo Count Source Statement
000028 l = i + m;
000029 /* printf(" a[I]=%d a[L]=%d
000030 c++;
000031 120 if (a[i-1] <= a[l-1]) {
000032 i = 0;
000033 } else {
000034 t = a[i-1];
000035 a[i-1] = a[l-1];
000036 a[l-1] = t;
000037 i = i - m;
000038 s++;
000039 }
000040 }
000041 j += 1;
000042 }
000043 m = m >> 1;
000044 }
000045 printf(" iterations=%d swaps=%d
000046 }