Overview

The P04 report is used for mapping source lines in 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 specific source lines within a CSECT. Use the “P” line command, on an eligible line command field, to launch this report. Source statements from a single compile unit are shown. A percent value is shown for source statements in which CPU activity was measured. A "P" command can be entered on the LineNo field to see the source for that line.

A sample report is shown here.

  File  View  Navigate  Help
--------------------------------------------------------------------------------
P04: DWARF Source Lines (0539/JVMTST01)                         Row 00001 of 00017
Command ===> __________________________________________________ Scroll ===> CSR


Debug file name        /u/aif04/xcs5d.dbg
Debug file date        2007-11-12 15:13:11
Compile date           2007-11-12 15:13:10


LineNo  FileNo         Percent of CPU Time * 10.00% ±3.2%
                            *....1....2....3....4....5....6....7....8....9....*

000031       1       12.77=======
000027       1        6.60 ====
000035       1        4.89 ==
000034       1        4.57 ==
000028       1        4.36 ==
000036       1        4.36 ==
000040       1        3.19 ==
000025       1        2.55 =
000030       1        2.44 =
000033       1        2.44 =
000041       1        2.34 =
000038       1        2.02 =
000037       1        1.91 =
000039       1        1.70 =
000032       1        1.38 =
000026       1        0.63
000042       1        0.53