OpenCSD - CoreSight Trace Decode Library
1.3.3
|
Types used in trace packet description structures. More...
Classes | |
class | EtmV3TrcPacket |
ETMv3 Trace Protocol Packet. More... | |
struct | _ocsd_etmv3_excep |
struct | _etmv3_context_t |
struct | _etmv3_data_t |
struct | _etmv3_isync_t |
struct | _ocsd_etmv3_pkt |
struct | _ocsd_etmv3_cfg |
class | Etmv4PktAddrStack |
ETMv4 Address packet values stack. More... | |
class | EtmV4ITrcPacket |
ETMv4 Instuction Trace Protocol Packet. More... | |
union | _etmv4_trace_info_t |
struct | _etmv4_context_t |
struct | _etmv4_addr_val_t |
struct | _ocsd_etmv4_i_pkt |
struct | _ocsd_etmv4_d_pkt |
struct | _ocsd_etmv4_cfg |
class | PtmTrcPacket |
struct | _ptm_context_t |
struct | _ocsd_ptm_excep |
struct | _ocsd_ptm_pkt |
struct | _ocsd_ptm_cfg |
struct | _ocsd_stm_pkt |
struct | _ocsd_stm_cfg |
struct | _ocsd_pkt_vaddr |
struct | _ocsd_pkt_byte_sz_val |
struct | _ocsd_pkt_atom |
struct | _ocsd_ete_cfg |
Functions | |
void | EtmV3TrcPacket::UpdateNS (const int NS) |
void | EtmV3TrcPacket::UpdateAltISA (const int AltISA) |
void | EtmV3TrcPacket::UpdateHyp (const int Hyp) |
void | EtmV3TrcPacket::UpdateISA (const ocsd_isa isa) |
void | EtmV3TrcPacket::SetType (const ocsd_etmv3_pkt_type p_type) |
void | EtmV3TrcPacket::SetErrType (const ocsd_etmv3_pkt_type e_type) |
const bool | EtmV3TrcPacket::isBadPacket () const |
void | EtmV3TrcPacket::SetDataOOOTag (const uint8_t tag) |
void | EtmV3TrcPacket::SetDataValue (const uint32_t value) |
void | EtmV3TrcPacket::UpdateContextID (const uint32_t contextID) |
void | EtmV3TrcPacket::UpdateVMID (const uint8_t VMID) |
void | EtmV3TrcPacket::UpdateDataEndian (const uint8_t BE_Val) |
void | EtmV3TrcPacket::SetCycleCount (const uint32_t cycleCount) |
void | EtmV3TrcPacket::SetISyncReason (const ocsd_iSync_reason reason) |
void | EtmV3TrcPacket::SetISyncHasCC () |
void | EtmV3TrcPacket::SetISyncIsLSiP () |
void | EtmV3TrcPacket::SetISyncNoAddr () |
const bool | EtmV3TrcPacket::isCtxtUpdated () const |
void | EtmV4ITrcPacket::updateErrType (const ocsd_etmv4_i_pkt_type err_pkt_type, const uint8_t val=0) |
void | EtmV4ITrcPacket::clearTraceInfo () |
clear all the trace info data prior to setting for new trace info packet. More... | |
void | EtmV4ITrcPacket::setTraceInfo (const uint32_t infoVal) |
void | EtmV4ITrcPacket::setTraceInfoKey (const uint32_t keyVal) |
void | EtmV4ITrcPacket::setTraceInfoSpec (const uint32_t specVal) |
void | EtmV4ITrcPacket::setTraceInfoCyct (const uint32_t cyctVal) |
void | EtmV4ITrcPacket::setTS (const uint64_t value, const uint8_t bits) |
void | EtmV4ITrcPacket::setCycleCount (const uint32_t value) |
void | EtmV4ITrcPacket::setCommitElements (const uint32_t commit_elem) |
const uint32_t | EtmV4ITrcPacket::getCCThreshold () const |
const uint32_t | EtmV4ITrcPacket::getP0Key () const |
const uint32_t | EtmV4ITrcPacket::getCurrSpecDepth () const |
void | EtmV4ITrcPacket::setCancelElements (const uint32_t cancel_elem) |
void | EtmV4ITrcPacket::setAtomPacket (const ocsd_pkt_atm_type type, const uint32_t En_bits, const uint8_t num) |
void | EtmV4ITrcPacket::setCondIF1 (uint32_t const cond_key) |
void | EtmV4ITrcPacket::setCondIF2 (uint8_t const c_elem_idx) |
void | EtmV4ITrcPacket::setCondIF3 (uint8_t const num_c_elem, const bool finalElem) |
void | EtmV4ITrcPacket::setCondRF1 (const uint32_t key[2], const uint8_t res[2], const uint8_t CI[2], const bool set2Keys) |
void | EtmV4ITrcPacket::setCondRF2 (const uint8_t key_incr, const uint8_t token) |
void | EtmV4ITrcPacket::setCondRF3 (const uint16_t tokens) |
void | EtmV4ITrcPacket::setCondRF4 (const uint8_t token) |
void | EtmV4ITrcPacket::setContextInfo (const bool update, const uint8_t EL=0, const uint8_t NS=0, const uint8_t SF=0, const uint8_t NSE=0) |
void | EtmV4ITrcPacket::setContextVMID (const uint32_t VMID) |
void | EtmV4ITrcPacket::setContextCID (const uint32_t CID) |
void | EtmV4ITrcPacket::setExceptionInfo (const uint16_t excep_type, const uint8_t addr_interp, const uint8_t m_fault_pending, const uint8_t m_type) |
void | EtmV4ITrcPacket::set64BitAddress (const uint64_t addr, const uint8_t IS) |
void | EtmV4ITrcPacket::set32BitAddress (const uint32_t addr, const uint8_t IS) |
void | EtmV4ITrcPacket::updateShortAddress (const uint32_t addr, const uint8_t IS, const uint8_t update_bits) |
void | EtmV4ITrcPacket::setAddressExactMatch (const uint8_t idx) |
void | EtmV4ITrcPacket::setDataSyncMarker (const uint8_t dsm_val) |
void | EtmV4ITrcPacket::setEvent (const uint8_t event_val) |
void | EtmV4ITrcPacket::setQType (const bool has_count, const uint32_t count, const bool has_addr, const bool addr_match, const uint8_t type) |
const bool | EtmV4ITrcPacket::isBadPacket () const |
void | PtmTrcPacket::SetType (const ocsd_ptm_pkt_type p_type) |
void | PtmTrcPacket::SetErrType (const ocsd_ptm_pkt_type e_type) |
void | PtmTrcPacket::UpdateNS (const int NS) |
void | PtmTrcPacket::UpdateAltISA (const int AltISA) |
void | PtmTrcPacket::UpdateHyp (const int Hyp) |
void | PtmTrcPacket::UpdateISA (const ocsd_isa isa) |
void | PtmTrcPacket::UpdateContextID (const uint32_t contextID) |
void | PtmTrcPacket::UpdateVMID (const uint8_t VMID) |
void | PtmTrcPacket::SetException (const ocsd_armv7_exception type, const uint16_t number) |
void | PtmTrcPacket::SetISyncReason (const ocsd_iSync_reason reason) |
void | PtmTrcPacket::SetCycleCount (const uint32_t cycleCount) |
const bool | PtmTrcPacket::isBadPacket () const |
const ocsd_ptm_pkt_type | PtmTrcPacket::getType () const |
const ocsd_isa | PtmTrcPacket::getISA () const |
ETMv3 Packet Types | |
enum | _ocsd_etmv3_pkt_type { ETM3_PKT_NOERROR , ETM3_PKT_NOTSYNC , ETM3_PKT_INCOMPLETE_EOT , ETM3_PKT_BRANCH_ADDRESS , ETM3_PKT_A_SYNC , ETM3_PKT_CYCLE_COUNT , ETM3_PKT_I_SYNC , ETM3_PKT_I_SYNC_CYCLE , ETM3_PKT_TRIGGER , ETM3_PKT_P_HDR , ETM3_PKT_STORE_FAIL , ETM3_PKT_OOO_DATA , ETM3_PKT_OOO_ADDR_PLC , ETM3_PKT_NORM_DATA , ETM3_PKT_DATA_SUPPRESSED , ETM3_PKT_VAL_NOT_TRACED , ETM3_PKT_IGNORE , ETM3_PKT_CONTEXT_ID , ETM3_PKT_VMID , ETM3_PKT_EXCEPTION_ENTRY , ETM3_PKT_EXCEPTION_EXIT , ETM3_PKT_TIMESTAMP , ETM3_PKT_BRANCH_OR_BYPASS_EOT , ETM3_PKT_BAD_SEQUENCE , ETM3_PKT_BAD_TRACEMODE , ETM3_PKT_RESERVED } |
typedef enum _ocsd_etmv3_pkt_type | ocsd_etmv3_pkt_type |
typedef struct _ocsd_etmv3_excep | ocsd_etmv3_excep |
typedef struct _etmv3_context_t | etmv3_context_t |
typedef struct _etmv3_data_t | etmv3_data_t |
typedef struct _etmv3_isync_t | etmv3_isync_t |
typedef struct _ocsd_etmv3_pkt | ocsd_etmv3_pkt |
typedef struct _ocsd_etmv3_cfg | ocsd_etmv3_cfg |
#define | DATA_ADDR_EXPECTED_FLAG 0x20 |
PTM Packet Types | |
enum | _ocsd_ptm_pkt_type { PTM_PKT_NOTSYNC , PTM_PKT_INCOMPLETE_EOT , PTM_PKT_NOERROR , PTM_PKT_BRANCH_ADDRESS , PTM_PKT_A_SYNC , PTM_PKT_I_SYNC , PTM_PKT_TRIGGER , PTM_PKT_WPOINT_UPDATE , PTM_PKT_IGNORE , PTM_PKT_CONTEXT_ID , PTM_PKT_VMID , PTM_PKT_ATOM , PTM_PKT_TIMESTAMP , PTM_PKT_EXCEPTION_RET , PTM_PKT_BRANCH_OR_BYPASS_EOT , PTM_PKT_TPIU_PAD_EOB , PTM_PKT_BAD_SEQUENCE , PTM_PKT_RESERVED } |
typedef enum _ocsd_ptm_pkt_type | ocsd_ptm_pkt_type |
typedef struct _ptm_context_t | ptm_context_t |
typedef struct _ocsd_ptm_excep | ocsd_ptm_excep |
typedef struct _ocsd_ptm_pkt | ocsd_ptm_pkt |
typedef struct _ocsd_ptm_cfg | ocsd_ptm_cfg |
STM Packet Types | |
enum | _ocsd_stm_pkt_type { STM_PKT_NOTSYNC , STM_PKT_INCOMPLETE_EOT , STM_PKT_NO_ERR_TYPE , STM_PKT_ASYNC , STM_PKT_VERSION , STM_PKT_FREQ , STM_PKT_NULL , STM_PKT_TRIG , STM_PKT_GERR , STM_PKT_MERR , STM_PKT_M8 , STM_PKT_C8 , STM_PKT_C16 , STM_PKT_FLAG , STM_PKT_D4 , STM_PKT_D8 , STM_PKT_D16 , STM_PKT_D32 , STM_PKT_D64 , STM_PKT_BAD_SEQUENCE , STM_PKT_RESERVED } |
enum | _ocsd_stm_ts_type { STM_TS_UNKNOWN , STM_TS_NATBINARY , STM_TS_GREY } |
enum | _hw_event_feat { HwEvent_Unknown_Disabled , HwEvent_Enabled , HwEvent_UseRegisters } |
typedef enum _ocsd_stm_pkt_type | ocsd_stm_pkt_type |
typedef enum _ocsd_stm_ts_type | ocsd_stm_ts_type |
typedef struct _ocsd_stm_pkt | ocsd_stm_pkt |
typedef enum _hw_event_feat | hw_event_feat_t |
typedef struct _ocsd_stm_cfg | ocsd_stm_cfg |
ETE config Types | |
typedef struct _ocsd_ete_cfg | ocsd_ete_cfg |
Types used in trace packet description structures.
#define DATA_ADDR_EXPECTED_FLAG 0x20 |
Bit set for data trace headers if data address packets follow
Definition at line 172 of file trc_pkt_types_etmv3.h.
#define ETE_ARCH_VERSION 0x5 |
Definition at line 383 of file trc_pkt_types_etmv4.h.
#define ETE_OPFLG_PKTDEC_SRCADDR_N_ATOMS 0x00010000 |
Split source address output ranges for N-atoms
Definition at line 385 of file trc_pkt_types_etmv4.h.
typedef struct _etmv3_context_t etmv3_context_t |
typedef struct _etmv3_data_t etmv3_data_t |
typedef struct _etmv3_isync_t etmv3_isync_t |
typedef struct _etmv4_addr_val_t etmv4_addr_val_t |
a broadcast address value.
typedef struct _etmv4_context_t etmv4_context_t |
typedef union _etmv4_trace_info_t etmv4_trace_info_t |
typedef enum _hw_event_feat hw_event_feat_t |
HW Event trace feature Defines if the STM supports or has enabled the HW event trace feature. This may not always be able to be determined by the registers, or the feature values can override if HW event trace is to be ignored.
typedef enum _ocsd_armv7_exception ocsd_armv7_exception |
typedef enum _ocsd_atm_val ocsd_atm_val |
typedef struct _ocsd_ete_cfg ocsd_ete_cfg |
typedef struct _ocsd_etmv3_cfg ocsd_etmv3_cfg |
typedef struct _ocsd_etmv3_excep ocsd_etmv3_excep |
typedef struct _ocsd_etmv3_pkt ocsd_etmv3_pkt |
typedef enum _ocsd_etmv3_pkt_type ocsd_etmv3_pkt_type |
typedef struct _ocsd_etmv4_cfg ocsd_etmv4_cfg |
typedef struct _ocsd_etmv4_d_pkt ocsd_etmv4_d_pkt |
typedef enum _ocsd_etmv4_d_pkt_type ocsd_etmv4_d_pkt_type |
typedef struct _ocsd_etmv4_i_pkt ocsd_etmv4_i_pkt |
typedef enum _ocsd_etmv4_i_pkt_type ocsd_etmv4_i_pkt_type |
I stream packets.
typedef enum _ocsd_iSync_reason ocsd_iSync_reason |
Isync Reason - common to PTM and ETMv3
typedef enum _ocsd_pkt_atm_type ocsd_pkt_atm_type |
typedef struct _ocsd_pkt_atom ocsd_pkt_atom |
typedef struct _ocsd_pkt_byte_sz_val ocsd_pkt_byte_sz_val |
typedef enum _ocsd_pkt_va_size ocsd_pkt_va_size |
typedef struct _ocsd_pkt_vaddr ocsd_pkt_vaddr |
typedef struct _ocsd_ptm_cfg ocsd_ptm_cfg |
typedef struct _ocsd_ptm_excep ocsd_ptm_excep |
typedef struct _ocsd_ptm_pkt ocsd_ptm_pkt |
typedef enum _ocsd_ptm_pkt_type ocsd_ptm_pkt_type |
typedef struct _ocsd_stm_cfg ocsd_stm_cfg |
STM hardware configuration. Contains hardware register values at time of trace capture and HW event feature field to enable and control decode of STM trace stream.
typedef struct _ocsd_stm_pkt ocsd_stm_pkt |
STM trace packet
Structure containing the packet data for a single STM packet, plus data persisting between packets (master, channel, last timestamp).
typedef enum _ocsd_stm_pkt_type ocsd_stm_pkt_type |
STM protocol packet types. Contains both protocol packet types and markers for unsynced processor state and bad packet sequences.
typedef enum _ocsd_stm_ts_type ocsd_stm_ts_type |
STM timestamp encoding type. Extracted from STM version packet. CS-STM supports Natural binary and grey encodings.
typedef struct _ptm_context_t ptm_context_t |
enum _hw_event_feat |
HW Event trace feature Defines if the STM supports or has enabled the HW event trace feature. This may not always be able to be determined by the registers, or the feature values can override if HW event trace is to be ignored.
Definition at line 131 of file trc_pkt_types_stm.h.
Definition at line 103 of file trc_pkt_types.h.
enum _ocsd_atm_val |
Enumerator | |
---|---|
ATOM_N | |
ATOM_E |
Definition at line 79 of file trc_pkt_types.h.
enum _ocsd_etmv3_pkt_type |
Definition at line 46 of file trc_pkt_types_etmv3.h.
Definition at line 305 of file trc_pkt_types_etmv4.h.
I stream packets.
Definition at line 48 of file trc_pkt_types_etmv4.h.
enum _ocsd_iSync_reason |
Isync Reason - common to PTM and ETMv3
Enumerator | |
---|---|
iSync_Periodic | |
iSync_TraceEnable | |
iSync_TraceRestartAfterOverflow | |
iSync_DebugExit |
Definition at line 95 of file trc_pkt_types.h.
enum _ocsd_pkt_atm_type |
Enumerator | |
---|---|
ATOM_PATTERN | set atom packet using pattern supplied |
ATOM_REPEAT | set atom packet using repeat value (convert to pattern) |
Definition at line 73 of file trc_pkt_types.h.
enum _ocsd_pkt_va_size |
Enumerator | |
---|---|
VA_32BIT | |
VA_64BIT |
Definition at line 52 of file trc_pkt_types.h.
enum _ocsd_ptm_pkt_type |
Definition at line 46 of file trc_pkt_types_ptm.h.
enum _ocsd_stm_pkt_type |
STM protocol packet types. Contains both protocol packet types and markers for unsynced processor state and bad packet sequences.
Definition at line 49 of file trc_pkt_types_stm.h.
enum _ocsd_stm_ts_type |
STM timestamp encoding type. Extracted from STM version packet. CS-STM supports Natural binary and grey encodings.
Enumerator | |
---|---|
STM_TS_UNKNOWN | TS encoding unknown at present. |
STM_TS_NATBINARY | TS encoding natural binary |
STM_TS_GREY | TS encoding grey coded. |
Definition at line 88 of file trc_pkt_types_stm.h.
|
inline |
clear all the trace info data prior to setting for new trace info packet.
Definition at line 235 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 297 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 311 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 213 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 304 of file trc_pkt_elem_etmv4i.h.
|
inline |
|
inline |
Definition at line 192 of file trc_pkt_elem_etmv3.h.
|
inline |
|
inline |
Definition at line 203 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 251 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 466 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 456 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 501 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 323 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 318 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 291 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 340 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 349 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 372 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 380 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 397 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 405 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 412 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 440 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 419 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 432 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 226 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 196 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 285 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 197 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 508 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 202 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 186 of file trc_pkt_elem_etmv3.h.
|
inline |
|
inline |
Definition at line 513 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 184 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 448 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 236 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 241 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 246 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 231 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 191 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 518 of file trc_pkt_elem_etmv4i.h.
|
inline |
|
inline |
Definition at line 270 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 258 of file trc_pkt_elem_etmv4i.h.
|
inline |
|
inline |
Definition at line 276 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 181 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 137 of file trc_pkt_elem_ptm.h.
|
inline |
|
inline |
Definition at line 154 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 208 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 172 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 220 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 227 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 169 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 160 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 175 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 166 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 157 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 148 of file trc_pkt_elem_ptm.h.
|
inline |
Definition at line 489 of file trc_pkt_elem_etmv4i.h.
|
inline |
Definition at line 214 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 178 of file trc_pkt_elem_ptm.h.