| |||
| Home > Analyzing Trace with the Analysis Window > Changing the displayed trace details > Changing the columns displayed in the Trace view | |||
You can choose which columns to display in the Trace view. To do this, select one of the following options from the Trace Data menu in the Analysis window:
Displays the Elem column that shows the
position of each element within the trace buffer, where the value
can represent either:
An index within the trace buffer.
A cycle number, if your Trace Port Analyzer (TPA) supports cycle-accurate tracing. To display cycle numbers in this column you must select Cycle accurate tracing in the Configure ETM dialog box before you begin tracing.
This column is displayed by default.
Displays the Time/ column
that shows the timestamp value. To change the format of the values,
select View → Scale Time
Units... from the menu.unit
This column shows information only when either Enable Timestamps or Cycle accurate tracing is selected in the Configure ETM dialog box. To scale between times and cycle numbers, select View → Define Processor Speed for Scaling... from the menu.
This column is displayed by default.
Displays
the +Time column that shows the delta timestamp
value. This indicates the time taken between the previous instruction
and the current instruction. To change the format of the values,
select View → Scale Time
Units... from the menu.
The +Time column shows information only
when either Enable Timestamps or Cycle
accurate tracing is selected in the Configure ETM dialog
box.
This column is not displayed by default.
Displays the Type column
that shows the access type of the current element, which can be
any of:
Code access (fetch).
Data access (read or write).
Instruction was executed.
Folded branch (folded by branch prediction unit and never issued).
Folded branch (folded by branch prediction unit and never issued) was not executed.
Instructions on targets where the trace does not contain executed flags, such as XScale™ on-chip trace and RVISS targets.
The instruction might or might not have been executed.
An instruction has not been executed.
If an access type is prefixed by R, this
indicates a read access. A W prefix indicates a
write access.
This column is displayed by default.
Displays the Symbolic column
that shows the symbolic position information for the current element,
and takes one of the following forms:
source_symbol_name+offset
For example, Arr_2_Glob+0x65 might be a
data access to the variable address Arr_2_Glob,
with an offset of 0x65.
source_symbol_name[\[~]#line_number[..#line_number]]
source_symbol_nameThis can be any symbolic information, including a function, module, variable, or low-level symbol
~This means that the corresponding instruction, and the instructions corresponding to the symbols with the same line number, implement the same line of code. For example, instructions that implement a branch or loop.
#line_number[..#line_number]This means that the corresponding instructions span the specified lines of source code.
For example, your trace output might have the following sequence of symbols:
Func_2\#159 Func_2\~#159 Func_2\#161..#164
The instructions corresponding to the symbols Func_2\#159 and Func_2\~#159 both
implement the source code at line 159 in the function Func_2().
The instruction corresponding to the symbol Func_2\#161..#164 spans
lines 161 to 164 of the source in the function Func_2().
This column is displayed by default.
Displays the Address column that shows
the address of the instruction or data accessed.
This column is displayed by default.
Displays the Data/Hex column that shows
the data values in hexadecimal form.
This column is not displayed by default.
Displays the Data/Dec column
that shows the data values in decimal form.
This column is not displayed by default.
Displays the Opcode column
that shows the opcode of the instruction accessed.
This column is displayed by default.
Displays the Other column that
shows the disassembly for the line of trace:
For instructions, the disassembled instruction is displayed.
For data, the display has the following format:
<Data> ‘character’
| hexvalue [‘character’
| hexvalue ...]
characteris a printable character or a C-style escape code.
hexvalueis the hexadecimal value of the character if it is neither a printable character, nor an escape code.
For example:
<Data> ‘\f’ 0x03 ‘\0’ ‘\0’
This column is displayed by default.
Displays
the Count column that shows the number of times
a particular address was accessed.
This column is not displayed by default.