9.2.1. 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:

Position

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.

Absolute Time

Displays the Time/unit column that shows the timestamp value. To change the format of the values, select Scale Time Units... from the View menu.

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 Define Processor Speed for Scaling... from the View menu.

This column is displayed by default.

Relative Time

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 Scale Time Units... from the View 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.

Access Type

Displays the Type column that shows the access type of the current element, which can be any of:

Code

Code access (fetch).

Data

Data access (read or write).

Exec

Instruction was executed.

Folded

Folded branch (folded by branch prediction unit and never issued).

FoldNoEx

Folded branch (folded by branch prediction unit and never issued) was not executed.

Instr

Instructions on targets where the trace does not contain executed flags, such as XScale™ on-chip trace and RVISS targets.

Note

The instruction might or might not have been executed.

NoExec

An instruction has not been executed.

Note

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.

Address as Symbol/line

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_name

    This 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.

Address as Value

Displays the Address column that shows the address of the instruction or data accessed.

This column is displayed by default.

Data Value in Hex

Displays the Data/Hex column that shows the data values in hexadecimal form.

This column is not displayed by default.

Data Value in Decimal

Displays the Data/Dec column that shows the data values in decimal form.

This column is not displayed by default.

Opcode

Displays the Opcode column that shows the opcode of the instruction accessed.

This column is displayed by default.

Interpretation of Data/Opcode

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 ...]

    character

    is a printable character or a C-style escape code.

    hexvalue

    is 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.

Count of Hits

Displays the Count column that shows the number of times a particular address was accessed.

This column is not displayed by default.

See also

Copyright © 2006-2010 ARM Limited. All rights reserved.ARM DUI 0322F
Non-ConfidentialID102410