Expand description
Auto-generated Rust bindings to the C API of the OpenCSD library. OpenCSD is an open-source decoder for ARM CoreSight trace streams.
Re-exports§
pub use self::_ocsd_err_t as ocsd_err_t;pub use self::_ocsd_err_severity_t as ocsd_err_severity_t;pub use self::_ocsd_datapath_op_t as ocsd_datapath_op_t;pub use self::_ocsd_datapath_resp_t as ocsd_datapath_resp_t;pub use self::_rcdtl_rawframe_elem_t as ocsd_rawframe_elem_t;pub use self::_ocsd_dcd_tree_src_t as ocsd_dcd_tree_src_t;pub use self::_ocsd_arch_version as ocsd_arch_version_t;pub use self::_ocsd_core_profile as ocsd_core_profile_t;pub use self::_ocsd_isa as ocsd_isa;pub use self::_ocsd_sec_level as ocsd_sec_level;pub use self::_ocsd_ex_level as ocsd_ex_level;pub use self::_ocsd_instr_type as ocsd_instr_type;pub use self::_ocsd_instr_subtype as ocsd_instr_subtype;pub use self::_ocsd_mem_space_acc_t as ocsd_mem_space_acc_t;pub use self::_ocsd_trace_protocol_t as ocsd_trace_protocol_t;pub use self::_ocsd_gen_trc_elem_t as ocsd_gen_trc_elem_t;pub use self::_trace_on_reason_t as trace_on_reason_t;pub use self::_unsync_info_t as unsync_info_t;pub use self::_trace_sync_marker_t as trace_sync_marker_t;pub use self::_memtrans_t as trace_memtrans_t;pub use self::_event_t as event_t;pub use self::_ocsd_pkt_va_size as ocsd_pkt_va_size;pub use self::_ocsd_pkt_atm_type as ocsd_pkt_atm_type;pub use self::_ocsd_atm_val as ocsd_atm_val;pub use self::_ocsd_iSync_reason as ocsd_iSync_reason;pub use self::_ocsd_armv7_exception as ocsd_armv7_exception;pub use self::_ocsd_etmv3_pkt_type as ocsd_etmv3_pkt_type;pub use self::_ocsd_etmv4_i_pkt_type as ocsd_etmv4_i_pkt_type;pub use self::_ocsd_etmv4_d_pkt_type as ocsd_etmv4_d_pkt_type;pub use self::_ocsd_ptm_pkt_type as ocsd_ptm_pkt_type;pub use self::_ocsd_stm_pkt_type as ocsd_stm_pkt_type;pub use self::_ocsd_stm_ts_type as ocsd_stm_ts_type;pub use self::_hw_event_feat as hw_event_feat_t;pub use self::_ocsd_c_api_cb_types as ocsd_c_api_cb_types;
Structs§
- __
Bindgen Bitfield Unit - __
fsid_ t - _etmv3_
context_ t - _etmv3_
context_ t__ bindgen_ ty_ 1 - _etmv3_
data_ t - _etmv3_
data_ t__ bindgen_ ty_ 1 - _etmv3_
isync_ t - _etmv3_
isync_ t__ bindgen_ ty_ 1 - _etmv4_
addr_ val_ t - a broadcast address value.
- _etmv4_
context_ t - _etmv4_
context_ t__ bindgen_ ty_ 1 - _etmv4_
trace_ info_ t__ bindgen_ ty_ 1 - _ocsd_
arch_ profile_ t - Combined architecture and profile descriptor for a core
- _ocsd_
decode_ stats - @name Decode statistics
- _ocsd_
demux_ stats - @name Demux Statistics
- _ocsd_
ete_ cfg - @name ETE config Types @{
- _ocsd_
etmv3_ cfg - _ocsd_
etmv3_ excep - _ocsd_
etmv3_ excep__ bindgen_ ty_ 1 - _ocsd_
etmv3_ pkt - _ocsd_
etmv4_ cfg - _ocsd_
etmv4_ d_ pkt - _ocsd_
etmv4_ i_ pkt - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 1 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 2 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 3 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 4 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 5 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 6 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 3__ bindgen_ ty_ 1 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 4__ bindgen_ ty_ 1 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 5__ bindgen_ ty_ 1 - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 7__ bindgen_ ty_ 1 - _ocsd_
extern_ dcd_ cb_ fns - an instance of this is owned by the decoder, filled in by the library - allows the CB fns in the library decode tree to be called.
- _ocsd_
extern_ dcd_ fact - set of functions and callbacks to create an extern custom decoder in the library via the C API interface. This structure is registered with the library by name and then decoders of the type can be created on the decode tree.
- _ocsd_
extern_ dcd_ inst - Owned by the library instance object, this structure is filled in by the ocsd_extern_dcd_fact_t createDecoder() function.
- _ocsd_
file_ mem_ region - memory region type for adding multi-region binary files to memory access interface
- _ocsd_
generic_ trace_ elem - _ocsd_
generic_ trace_ elem__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - _ocsd_
instr_ info - Instruction decode request structure.
- _ocsd_
pe_ context - Core(PE) context structure records current security state, exception level, VMID and ContextID for core.
- _ocsd_
pe_ context__ bindgen_ ty_ 1 - _ocsd_
pkt_ atom - _ocsd_
pkt_ byte_ sz_ val - _ocsd_
pkt_ vaddr - _ocsd_
ptm_ cfg - _ocsd_
ptm_ excep - _ocsd_
ptm_ excep__ bindgen_ ty_ 1 - _ocsd_
ptm_ pkt - _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.
- _ocsd_
stm_ pkt - STM trace packet
- _ocsd_
swt_ info - @name Software Trace Packets Info
- _ocsd_
swt_ info__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - _ptm_
context_ t - _ptm_
context_ t__ bindgen_ ty_ 1 - _sw_
ite_ t - _trace_
event_ t - _trace_
marker_ payload_ t - imaxdiv_
t - max_
align_ t
Constants§
- C_
API_ MSGLOGOUT_ FLG_ FILE - C_
API_ MSGLOGOUT_ FLG_ NONE - C_
API_ MSGLOGOUT_ FLG_ STDERR - C_
API_ MSGLOGOUT_ FLG_ STDOUT - C_
API_ MSGLOGOUT_ MASK - DATA_
ADDR_ EXPECTED_ FLAG - ETE_
ARCH_ VERSION - ETE_
ETM4_ OPFLG_ MASK - ETE_
OPFLG_ PKTDEC_ SRCADDR_ N_ ATOMS - ETM4_
OPFLG_ PKTDEC_ AA64_ OPCODE_ CHK - INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - OCSD_
BUILTIN_ DCD_ ETE - OCSD_
BUILTIN_ DCD_ ETMV3 - OCSD_
BUILTIN_ DCD_ ETMV4D - OCSD_
BUILTIN_ DCD_ ETMV4I - OCSD_
BUILTIN_ DCD_ PTM - OCSD_
BUILTIN_ DCD_ STM - OCSD_
CMPNAME_ PREFIX_ FRAMEDEFORMATTER - OCSD_
CMPNAME_ PREFIX_ PKTDEC - OCSD_
CMPNAME_ PREFIX_ PKTPROC - OCSD_
CMPNAME_ PREFIX_ SOURCE_ READER - OCSD_
CREATE_ FLG_ FULL_ DECODER - OCSD_
CREATE_ FLG_ INST_ ID - OCSD_
CREATE_ FLG_ PACKET_ PROC - OCSD_
CUST_ DCD_ PKT_ CB_ USE_ MON - OCSD_
CUST_ DCD_ PKT_ CB_ USE_ SINK - OCSD_
DFRMTR_ FRAME_ MEM_ ALIGN - OCSD_
DFRMTR_ FRAME_ SIZE - OCSD_
DFRMTR_ HAS_ FSYNCS - OCSD_
DFRMTR_ HAS_ HSYNCS - OCSD_
DFRMTR_ PACKED_ RAW_ OUT - OCSD_
DFRMTR_ RESET_ ON_ 4X_ FSYNC - OCSD_
DFRMTR_ UNPACKED_ RAW_ OUT - OCSD_
DFRMTR_ VALID_ MASK - OCSD_
LIB_ NAME - OCSD_
LIB_ SHORT_ NAME - OCSD_
MAX_ VA_ BITSIZE - OCSD_
OPFLG_ CHK_ RANGE_ CONTINUE - OCSD_
OPFLG_ COMP_ MODE_ MASK - OCSD_
OPFLG_ N_ UNCOND_ DIR_ BR_ CHK - OCSD_
OPFLG_ PKTDEC_ COMMON - OCSD_
OPFLG_ PKTDEC_ ERROR_ BAD_ PKTS - OCSD_
OPFLG_ PKTDEC_ HALT_ BAD_ PKTS - OCSD_
OPFLG_ PKTPROC_ COMMON - OCSD_
OPFLG_ PKTPROC_ ERR_ BAD_ PKTS - OCSD_
OPFLG_ PKTPROC_ NOFWD_ BAD_ PKTS - OCSD_
OPFLG_ PKTPROC_ NOMON_ BAD_ PKTS - OCSD_
OPFLG_ PKTPROC_ UNSYNC_ ON_ BAD_ PKTS - OCSD_
OPFLG_ STRICT_ N_ UNCOND_ BR_ CHK - OCSD_
STATS_ REVISION - OCSD_
TRC_ IDX_ STR - OCSD_
VA_ MASK - OCSD_
VER_ MAJOR - OCSD_
VER_ MINOR - OCSD_
VER_ NUM - OCSD_
VER_ PATCH - OCSD_
VER_ STRING - PRIX8
- PRIX16
- PRIX32
- PRIX64
- PRIXFAS
T8 - PRIXFAS
T16 - PRIXFAS
T32 - PRIXFAS
T64 - PRIXLEAS
T8 - PRIXLEAS
T16 - PRIXLEAS
T32 - PRIXLEAS
T64 - PRIXMAX
- PRIXPTR
- PRId8
- PRId16
- PRId32
- PRId64
- PRIdFAS
T8 - PRIdFAS
T16 - PRIdFAS
T32 - PRIdFAS
T64 - PRIdLEAS
T8 - PRIdLEAS
T16 - PRIdLEAS
T32 - PRIdLEAS
T64 - PRIdMAX
- PRIdPTR
- PRIi8
- PRIi16
- PRIi32
- PRIi64
- PRIiFAS
T8 - PRIiFAS
T16 - PRIiFAS
T32 - PRIiFAS
T64 - PRIiLEAS
T8 - PRIiLEAS
T16 - PRIiLEAS
T32 - PRIiLEAS
T64 - PRIiMAX
- PRIiPTR
- PRIo8
- PRIo16
- PRIo32
- PRIo64
- PRIoFAS
T8 - PRIoFAS
T16 - PRIoFAS
T32 - PRIoFAS
T64 - PRIoLEAS
T8 - PRIoLEAS
T16 - PRIoLEAS
T32 - PRIoLEAS
T64 - PRIoMAX
- PRIoPTR
- PRIu8
- PRIu16
- PRIu32
- PRIu64
- PRIuFAS
T8 - PRIuFAS
T16 - PRIuFAS
T32 - PRIuFAS
T64 - PRIuLEAS
T8 - PRIuLEAS
T16 - PRIuLEAS
T32 - PRIuLEAS
T64 - PRIuMAX
- PRIuPTR
- PRIx8
- PRIx16
- PRIx32
- PRIx64
- PRIxFAS
T8 - PRIxFAS
T16 - PRIxFAS
T32 - PRIxFAS
T64 - PRIxLEAS
T8 - PRIxLEAS
T16 - PRIxLEAS
T32 - PRIxLEAS
T64 - PRIxMAX
- PRIxPTR
- PTRDIFF_
MAX - PTRDIFF_
MIN - SCNd8
- SCNd16
- SCNd32
- SCNd64
- SCNdFAS
T8 - SCNdFAS
T16 - SCNdFAS
T32 - SCNdFAS
T64 - SCNdLEAS
T8 - SCNdLEAS
T16 - SCNdLEAS
T32 - SCNdLEAS
T64 - SCNdMAX
- SCNdPTR
- SCNi8
- SCNi16
- SCNi32
- SCNi64
- SCNiFAS
T8 - SCNiFAS
T16 - SCNiFAS
T32 - SCNiFAS
T64 - SCNiLEAS
T8 - SCNiLEAS
T16 - SCNiLEAS
T32 - SCNiLEAS
T64 - SCNiMAX
- SCNiPTR
- SCNo8
- SCNo16
- SCNo32
- SCNo64
- SCNoFAS
T8 - SCNoFAS
T16 - SCNoFAS
T32 - SCNoFAS
T64 - SCNoLEAS
T8 - SCNoLEAS
T16 - SCNoLEAS
T32 - SCNoLEAS
T64 - SCNoMAX
- SCNoPTR
- SCNu8
- SCNu16
- SCNu32
- SCNu64
- SCNuFAS
T8 - SCNuFAS
T16 - SCNuFAS
T32 - SCNuFAS
T64 - SCNuLEAS
T8 - SCNuLEAS
T16 - SCNuLEAS
T32 - SCNuLEAS
T64 - SCNuMAX
- SCNuPTR
- SCNx8
- SCNx16
- SCNx32
- SCNx64
- SCNxFAS
T8 - SCNxFAS
T16 - SCNxFAS
T32 - SCNxFAS
T64 - SCNxLEAS
T8 - SCNxLEAS
T16 - SCNxLEAS
T32 - SCNxLEAS
T64 - SCNxMAX
- SCNxPTR
- SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - SWT_
ID_ VALID_ MASK - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ LEAST_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _FEATURES_
H - _INTTYPES_
H - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _SYS_
CDEFS_ H - __
FD_ SETSIZE - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ C23_ STRTOL - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C23 - __
GLIBC_ USE_ IEC_ 60559_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C23 - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2Y - __
GLIBC_ USE_ ISOC23 - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
KERNEL_ OLD_ TIMEVAL_ MATCHES_ TIMEVA L64 - __
LDOUBLE_ REDIRECTS_ TO_ FLOA T128_ ABI - __
OFF_ T_ MATCHES_ OFF64_ T - __
PRI64_ PREFIX - __
PRIPTR_ PREFIX - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ IEC_ 60559_ BFP__ - __
STDC_ IEC_ 60559_ COMPLEX__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ TIME_ BITS64 - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - ____
gwchar_ t_ defined - __
glibc_ c99_ flexarr_ available - _event_
t_ EVENT_ NUMBERED - _event_
t_ EVENT_ TRIGGER - _event_
t_ EVENT_ UNKNOWN - _hw_
event_ feat_ HwEvent_ Enabled - < HW event present and enabled - ignore Feat regs, assume hwev_mast value valid
- _hw_
event_ feat_ HwEvent_ Unknown_ Disabled - < status of HW event features not known - assume not present or disabled
- _hw_
event_ feat_ HwEvent_ UseRegisters - < Feature Register values and enable bits used to determine HW event trace status
- _memtrans_
t_ OCSD_ MEM_ TRANS_ COMMIT - < Transactional memory sequence valid.
- _memtrans_
t_ OCSD_ MEM_ TRANS_ FAIL - < Transactional memory sequence failed - operations since start of transaction have been unwound.
- _memtrans_
t_ OCSD_ MEM_ TRANS_ START - < Trace after this packet is part of a transactional memory sequence
- _memtrans_
t_ OCSD_ MEM_ TRANS_ TRACE_ INIT - < Trace started while PE in transactional state
- _ocsd_
arch_ version_ ARCH_ AA64 - < Min v8r3 plus additional AA64 PE features
- _ocsd_
arch_ version_ ARCH_ CUSTOM - < None ARM, custom architecture
- _ocsd_
arch_ version_ ARCH_ UNKNOWN - < unknown architecture
- _ocsd_
arch_ version_ ARCH_ V7 - < V7 architecture
- _ocsd_
arch_ version_ ARCH_ V8 - < V8 architecture
- _ocsd_
arch_ version_ ARCH_ V8_ max - _ocsd_
arch_ version_ ARCH_ V8r3 - < V8.3 architecture
- _ocsd_
armv7_ exception_ Excp_ AsyncD Abort - _ocsd_
armv7_ exception_ Excp_ CMBus Fault - _ocsd_
armv7_ exception_ Excp_ CMDebug Monitor - _ocsd_
armv7_ exception_ Excp_ CMHard Fault - _ocsd_
armv7_ exception_ Excp_ CMIR Qn - _ocsd_
armv7_ exception_ Excp_ CMMem Manage - _ocsd_
armv7_ exception_ Excp_ CMNMI - _ocsd_
armv7_ exception_ Excp_ CMPendSV - _ocsd_
armv7_ exception_ Excp_ CMSys Tick - _ocsd_
armv7_ exception_ Excp_ CMUsage Fault - _ocsd_
armv7_ exception_ Excp_ Debug Halt - _ocsd_
armv7_ exception_ Excp_ FIQ - _ocsd_
armv7_ exception_ Excp_ Generic - _ocsd_
armv7_ exception_ Excp_ Hyp - _ocsd_
armv7_ exception_ Excp_ IRQ - _ocsd_
armv7_ exception_ Excp_ Jazelle - _ocsd_
armv7_ exception_ Excp_ NoException - _ocsd_
armv7_ exception_ Excp_ Pref Abort - _ocsd_
armv7_ exception_ Excp_ Reserved - _ocsd_
armv7_ exception_ Excp_ Reset - _ocsd_
armv7_ exception_ Excp_ SMC - _ocsd_
armv7_ exception_ Excp_ SVC - _ocsd_
armv7_ exception_ Excp_ Sync Data Abort - _ocsd_
armv7_ exception_ Excp_ ThumbEE Check Fail - _ocsd_
armv7_ exception_ Excp_ Undef - _ocsd_
atm_ val_ ATOM_ E - _ocsd_
atm_ val_ ATOM_ N - _ocsd_
c_ api_ cb_ types_ OCSD_ C_ API_ CB_ PKT_ MON - Attach to the packet processor primary packet output (CB fn is FnDefPktDataIn)
- _ocsd_
c_ api_ cb_ types_ OCSD_ C_ API_ CB_ PKT_ SINK - _ocsd_
core_ profile_ profile_ CortexA - < Cortex-A profile
- _ocsd_
core_ profile_ profile_ CortexM - < Cortex-M profile
- _ocsd_
core_ profile_ profile_ CortexR - < Cortex-R profile
- _ocsd_
core_ profile_ profile_ Custom - < None ARM, custom arch profile
- _ocsd_
core_ profile_ profile_ Unknown - < Unknown profile
- _ocsd_
datapath_ op_ t_ OCSD_ OP_ DATA - < Standard index + data packet
- _ocsd_
datapath_ op_ t_ OCSD_ OP_ EOT - < End of available trace data. No data packet.
- _ocsd_
datapath_ op_ t_ OCSD_ OP_ FLUSH - < Flush existing data where possible, retain decode state. No data packet.
- _ocsd_
datapath_ op_ t_ OCSD_ OP_ RESET - < Reset decode state - drop any existing partial data. No data packet.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ CONT - < Continue processing
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ ERR_ CONT - < Continue processing : a component logged an error.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ ERR_ WAIT - < Pause processing : a component logged an error.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ FATAL_ INVALID_ DATA - < Processing Fatal Error : invalid trace data
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ FATAL_ INVALID_ OP - < Processing Fatal Error : invalid data path operation.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ FATAL_ INVALID_ PARAM - < Processing Fatal Error : invalid parameter in datapath call.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ FATAL_ NOT_ INIT - < Processing Fatal Error : component unintialised.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ FATAL_ SYS_ ERR - < Processing Fatal Error : internal system error.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ WAIT - < Pause processing
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ WARN_ CONT - < Continue processing : a component logged a warning.
- _ocsd_
datapath_ resp_ t_ OCSD_ RESP_ WARN_ WAIT - < Pause processing : a component logged a warning.
- _ocsd_
dcd_ tree_ src_ t_ OCSD_ TRC_ SRC_ FRAME_ FORMATTED - < input source is frame formatted.
- _ocsd_
dcd_ tree_ src_ t_ OCSD_ TRC_ SRC_ SINGLE - < input source is from a single protocol generator.
- _ocsd_
err_ severity_ t_ OCSD_ ERR_ SEV_ ERROR - < Most severe error - perhaps fatal.
- _ocsd_
err_ severity_ t_ OCSD_ ERR_ SEV_ INFO - < Information only message. Use for debugging code or suspect input data.
- _ocsd_
err_ severity_ t_ OCSD_ ERR_ SEV_ NONE - < No error logging.
- _ocsd_
err_ severity_ t_ OCSD_ ERR_ SEV_ WARN - < Warning level. Inconsistent or incorrect data seen but can carry on decode processing
- _ocsd_
err_ t_ OCSD_ ERR_ ATTACH_ COMP_ NOT_ FOUND - < 12 Cannot detach - component not found.
- _ocsd_
err_ t_ OCSD_ ERR_ ATTACH_ INVALID_ PARAM - < 11 Cannot attach - invalid parameter.
- _ocsd_
err_ t_ OCSD_ ERR_ ATTACH_ TOO_ MANY - < 10 Cannot attach - attach device limit reached.
- _ocsd_
err_ t_ OCSD_ ERR_ BAD_ DECODE_ IMAGE - < 46 Inconsistencies detected between trace and decode image (e.g. not taken unconditional instructions)
- _ocsd_
err_ t_ OCSD_ ERR_ BAD_ DECODE_ PKT - < 25 reserved or unknown packet in decoder.
- _ocsd_
err_ t_ OCSD_ ERR_ BAD_ HANDLE - < 5 Invalid handle passed to component.
- _ocsd_
err_ t_ OCSD_ ERR_ BAD_ PACKET_ SEQ - < 19 Bad packet sequence
- _ocsd_
err_ t_ OCSD_ ERR_ COMMIT_ PKT_ OVERRUN - < 26 overrun in commit packet stack - tried to commit more than available
- _ocsd_
err_ t_ OCSD_ ERR_ DATA_ DECODE_ FATAL - < 16 A decoder in the data path has returned a fatal error.
- _ocsd_
err_ t_ OCSD_ ERR_ DCDREG_ NAME_ REPEAT - < 39 attempted to register a decoder with the same name as another one
- _ocsd_
err_ t_ OCSD_ ERR_ DCDREG_ NAME_ UNKNOWN - < 40 attempted to find a decoder with a name that is not known in the library
- _ocsd_
err_ t_ OCSD_ ERR_ DCDREG_ TOOMANY - < 42 attempted to register too many custom decoders
- _ocsd_
err_ t_ OCSD_ ERR_ DCDREG_ TYPE_ UNKNOWN - < 41 attempted to find a decoder with a type that is not known in the library
- _ocsd_
err_ t_ OCSD_ ERR_ DCDT_ NO_ FORMATTER - < 29 No formatter in use - operation not valid.
- _ocsd_
err_ t_ OCSD_ ERR_ DCD_ INTERFACE_ UNUSED - < 43 Attempt to connect or use and interface not supported by this decoder.
- _ocsd_
err_ t_ OCSD_ ERR_ DFMTR_ BAD_ FHSYNC - < 18 Bad frame or half frame sync in trace deformatter
- _ocsd_
err_ t_ OCSD_ ERR_ DFMTR_ NOTCONTTRACE - < 17 Trace input to deformatter none-continuous
- _ocsd_
err_ t_ OCSD_ ERR_ FAIL - < 1 General systemic failure.
- _ocsd_
err_ t_ OCSD_ ERR_ FILE_ ERROR - < 8 File access error
- _ocsd_
err_ t_ OCSD_ ERR_ HW_ CFG_ UNSUPP - < 23 Programmed trace configuration not supported by decoder.
- _ocsd_
err_ t_ OCSD_ ERR_ INVALID_ ID - < 4 Invalid CoreSight Trace Source ID.
- _ocsd_
err_ t_ OCSD_ ERR_ INVALID_ OPCODE - < 44 Opcode found while decoding program memory is illegal
- _ocsd_
err_ t_ OCSD_ ERR_ INVALID_ PARAM_ TYPE - < 7 Type mismatch on abstract interface
- _ocsd_
err_ t_ OCSD_ ERR_ INVALID_ PARAM_ VAL - < 6 Invalid value parameter passed to component.
- _ocsd_
err_ t_ OCSD_ ERR_ INVALID_ PCKT_ HDR - < 20 Invalid packet header
- _ocsd_
err_ t_ OCSD_ ERR_ I_ RANGE_ LIMIT_ OVERRUN - < 45 An optional limit on consecutive instructions in range during decode has been exceeded.
- _ocsd_
err_ t_ OCSD_ ERR_ LAST - _ocsd_
err_ t_ OCSD_ ERR_ MEM - < 2 Internal memory allocation error.
- _ocsd_
err_ t_ OCSD_ ERR_ MEM_ ACC_ BAD_ LEN - < 34 Memory accessor returned a bad read length value (larger than requested
- _ocsd_
err_ t_ OCSD_ ERR_ MEM_ ACC_ FILE_ DIFF_ RANGE - < 32 Attempt to re-use the same memory access file for a different address range
- _ocsd_
err_ t_ OCSD_ ERR_ MEM_ ACC_ FILE_ NOT_ FOUND - < 31 Memory access file could not be opened
- _ocsd_
err_ t_ OCSD_ ERR_ MEM_ ACC_ OVERLAP - < 30 Attempted to set an overlapping range in memory access map
- _ocsd_
err_ t_ OCSD_ ERR_ MEM_ ACC_ RANGE_ INVALID - < 33 Address range in accessor set to invalid values
- _ocsd_
err_ t_ OCSD_ ERR_ MEM_ NACC - < 27 unable to access required memory address
- _ocsd_
err_ t_ OCSD_ ERR_ NOT_ INIT - < 3 Component not initialised or initialisation failure.
- _ocsd_
err_ t_ OCSD_ ERR_ NO_ PROTOCOL - < 9 Trace protocol unsupported
- _ocsd_
err_ t_ OCSD_ ERR_ PKT_ INTERP_ FAIL - < 21 Interpreter failed - cannot recover - bad data or sequence
- _ocsd_
err_ t_ OCSD_ ERR_ RDR_ FILE_ NOT_ FOUND - < 13 source reader - file not found.
- _ocsd_
err_ t_ OCSD_ ERR_ RDR_ INVALID_ INIT - < 14 source reader - invalid initialisation parameter.
- _ocsd_
err_ t_ OCSD_ ERR_ RDR_ NO_ DECODER - < 15 source reader - not trace decoder set.
- _ocsd_
err_ t_ OCSD_ ERR_ RET_ STACK_ OVERFLOW - < 28 internal return stack overflow checks failed - popped more than we pushed.
- _ocsd_
err_ t_ OCSD_ ERR_ TEST_ SNAPSHOT_ PARSE - < 35 test snapshot file parse error
- _ocsd_
err_ t_ OCSD_ ERR_ TEST_ SNAPSHOT_ PARSE_ INFO - < 36 test snapshot file parse information
- _ocsd_
err_ t_ OCSD_ ERR_ TEST_ SNAPSHOT_ READ - < 37 test snapshot reader error
- _ocsd_
err_ t_ OCSD_ ERR_ TEST_ SS_ TO_ DECODER - < 38 test snapshot to decode tree conversion error
- _ocsd_
err_ t_ OCSD_ ERR_ UNSUPPORTED_ ISA - < 22 ISA not supported in decoder.
- _ocsd_
err_ t_ OCSD_ ERR_ UNSUPP_ DECODE_ PKT - < 24 Packet not supported in decoder
- _ocsd_
err_ t_ OCSD_ OK - < 0 No Error.
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ A_ SYNC - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ BAD_ SEQUENCE - !< invalid sequence for packet type
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ BAD_ TRACEMODE - !< invalid packet type for this trace mode.
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ BRANCH_ ADDRESS - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ BRANCH_ OR_ BYPASS_ EOT - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ CONTEXT_ ID - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ CYCLE_ COUNT - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ DATA_ SUPPRESSED - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ EXCEPTION_ ENTRY - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ EXCEPTION_ EXIT - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ IGNORE - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ INCOMPLETE_ EOT - !< flushing incomplete/empty packet at end of trace.
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ I_ SYNC - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ I_ SYNC_ CYCLE - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ NOERROR - !< no error in packet - supplimentary data.
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ NORM_ DATA - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ NOTSYNC - !< no sync found yet
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ OOO_ ADDR_ PLC - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ OOO_ DATA - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ P_ HDR - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ RESERVED - !< packet type reserved.
- _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ STORE_ FAIL - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ TIMESTAMP - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ TRIGGER - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ VAL_ NOT_ TRACED - _ocsd_
etmv3_ pkt_ type_ ETM3_ PKT_ VMID - _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F1 - !< b0111xxxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F2 - !< b10xxxxxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F3 - !< b000101xx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F4 - !< b0110xxxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F5 - !< b11111xxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F6 - !< b1111011x
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DADDR_ P1_ F7 - !< b11110101
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DEVENT - !< b00000100
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DNUM_ DS_ MKR - _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DSUPPRESSION - !< b00000011
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DTIMESTAMP - !< b00000010
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DTRACE_ INFO - !< b00000001
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DUNNUM_ DS_ MKR - !< b00000001
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DVAL_ P2_ F1 - !< b0010xxxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DVAL_ P2_ F2 - !< b00110xxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DVAL_ P2_ F3 - !< b010xxxxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DVAL_ P2_ F4 - !< b000100xx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DVAL_ P2_ F5 - !< b00011xxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ DVAL_ P2_ F6 - !< b00111xxx
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ ASYNC - !< b00000000
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ BAD_ SEQUENCE - !< invalid sequence for packet type
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ BAD_ TRACEMODE - !< invalid packet type for this trace mode.
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ DISCARD - !< b00000011
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ EXTENSION - !< b00000000
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ INCOMPLETE_ EOT - !< flushing incomplete packet at end of trace.
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ NOTSYNC - !< no sync found yet
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ NO_ ERR_ TYPE - !< error packet has no header based type. Use with unknown/res packet types.
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ NO_ HEADER - !< waiting for a header byte
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ OVERFLOW - !< b00000101
- _ocsd_
etmv4_ d_ pkt_ type_ ETM4_ PKT_ D_ RESERVED - !< packet type reserved.
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ ITE - _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ PE_ RESET - _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ L_ 32IS0 - < b10110110
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ L_ 32IS1 - < b10110111
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ L_ 64IS0 - < b10111000
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ L_ 64IS1 - < b10111001
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ MATCH - < b101100xx
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ S_ IS0 - < b10110100
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ SRC_ ADDR_ S_ IS1 - < b10110101
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ TRANS_ COMMIT - b00001010 (ETE only)
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ TRANS_ FAIL - _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ TRANS_ ST - b00001001 (ETE only)
- _ocsd_
etmv4_ i_ pkt_ type_ ETE_ PKT_ I_ TS_ MARKER - < b10001000
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ CTXT_ L_ 32IS0 - < b10000010
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ CTXT_ L_ 32IS1 - < b10000011
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ CTXT_ L_ 64IS0 - < b10000101
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ CTXT_ L_ 64IS1 - < b10000110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ L_ 32IS0 - < b10011010
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ L_ 32IS1 - < b10011011
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ L_ 64IS0 - < b10011101
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ L_ 64IS1 - < b10011110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ MATCH - < b10010000 to b10010010 0x92
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ S_ IS0 - < b10010101
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ADDR_ S_ IS1 - < b10010110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ASYNC - !< b00000000
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ATOM_ F1 - < b1111011x to 0xF7
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ATOM_ F2 - < b110110xx to 0xDB
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ATOM_ F3 - < b11111xxx to 0xFF
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ATOM_ F4 - < b110111xx to 0xDF
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ATOM_ F5 - < b11010101 - b11010111 0xD5 - 0xD7, b11110101 0xF5
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ ATOM_ F6 - < b11000000 - b11010100 0xC0 - 0xD4, b11100000 - b11110100 0xE0 - 0xF4
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ BAD_ SEQUENCE - < invalid sequence for packet type.
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ BAD_ TRACEMODE - < invalid packet type for this trace mode.
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CANCEL_ F1 - < b00101110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CANCEL_ F2 - < b001101xx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CANCEL_ F3 - < b00111xxx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CANCEL_ F1_ MISPRED - < b00101111
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CCNT_ F1 - < b0000111x
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CCNT_ F2 - < b0000110x
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CCNT_ F3 - < b0001xxxx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COMMIT - < b00101101
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ FLUSH - < b01000011
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ I_ F1 - < b01101100
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ I_ F2 - < b01000000 - b01000010
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ I_ F3 - < b01101101
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ RES_ F1 - < b011010xx, b0110111x 0x68-0x6B, 0x6e-0x6F
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ RES_ F2 - < b0100100x, b01001010, b0100110x, b01001110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ RES_ F3 - < b0101xxxx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ COND_ RES_ F4 - < b0100010x, b01000110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ CTXT - < b1000000x
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ DISCARD - !< b00000011
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ EVENT - < b01110001 to 0x01111111 0x7F
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ EXCEPT - < b00000110
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ EXCEPT_ RTN - < b00000111 (ETE invalid)
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ EXTENSION - < b00000000
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ FUNC_ RET - < b00000101 (V8M only)
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ IGNORE - < b01110000
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ INCOMPLETE_ EOT - < flushing incomplete/empty packet at end of trace.
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ MISPREDICT - < b001100xx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ NOTSYNC - < no sync found yet.
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ NO_ ERR_ TYPE - < error type not set for packet.
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ NUM_ DS_ MKR - < b00100xxx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ OVERFLOW - !< b00000101
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ Q - < b1010xxxx
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ RESERVED - < packet type reserved.
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ RESERVED_ CFG - < packet type reserved for current configuration
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ TIMESTAMP - < b0000001x
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ TRACE_ INFO - < b00000001
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ TRACE_ ON - < b00000100
- _ocsd_
etmv4_ i_ pkt_ type_ ETM4_ PKT_ I_ UNNUM_ DS_ MKR - < b00101000 to b00101100 0x2C
- _ocsd_
ex_ level_ ocsd_ EL0 - < EL0
- _ocsd_
ex_ level_ ocsd_ EL1 - < EL1
- _ocsd_
ex_ level_ ocsd_ EL2 - < EL2
- _ocsd_
ex_ level_ ocsd_ EL3 - < EL3
- _ocsd_
ex_ level_ ocsd_ EL_ unknown - < EL unknown / unsupported in trace
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ ADDR_ NACC - < tracing in inaccessible memory area
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ ADDR_ UNKNOWN - < address currently unknown - need address packet update
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ CUSTOM - < Fully custom packet type - used by none-ARM architecture decoders
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ CYCLE_ COUNT - < Cycle count - cycles since last cycle count value - associated with a preceding instruction range.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ EO_ TRACE - < end of the available trace in the buffer.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ EVENT - < Event - trigger or numbered event
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ EXCEPTION - < exception - start address may be exception target, end address may be preferred ret addr.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ EXCEPTION_ RET - < expection return
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ INSTRUMENTATION - < PE instrumentation trace - PE generated SW trace, application dependent protocol.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ INSTR_ RANGE - < traced N consecutive instructions from addr (no intervening events or data elements), may have data assoc key
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ I_ RANGE_ NOPATH - < traced N instructions in a range, but incomplete information as to program execution path from start to end of range
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ MEMTRANS - < Trace indication of transactional memory operations.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ NO_ SYNC - < Waiting for sync - either at start of decode, or after overflow / bad packet
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ PE_ CONTEXT - < PE status update / change (arch, ctxtid, vmid etc).
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ SWTRACE - < Software trace packet - may contain data payload. STM / ITM hardware trace with channel protocol
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ SYNC_ MARKER - < Synchronisation marker - marks position in stream of an element that is output later.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ TIMESTAMP - < Timestamp - preceding elements happeded before this time.
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ TRACE_ ON - < Start of trace - beginning of elements or restart after discontinuity (overflow, trace filtering).
- _ocsd_
gen_ trc_ elem_ t_ OCSD_ GEN_ TRC_ ELEM_ UNKNOWN - < Unknown trace element - default value or indicate error in stream to client
- _ocsd_
iSync_ reason_ iSync_ Debug Exit - _ocsd_
iSync_ reason_ iSync_ Periodic - _ocsd_
iSync_ reason_ iSync_ Trace Enable - _ocsd_
iSync_ reason_ iSync_ Trace Restart After Overflow - _ocsd_
instr_ subtype_ OCSD_ S_ INSTR_ BR_ LINK - < branch with link
- _ocsd_
instr_ subtype_ OCSD_ S_ INSTR_ NONE - < no subtype set
- _ocsd_
instr_ subtype_ OCSD_ S_ INSTR_ V7_ IMPLIED_ RET - < v7 instruction which could imply return e.g. MOV PC, LR; POP { ,pc}
- _ocsd_
instr_ subtype_ OCSD_ S_ INSTR_ V8_ ERET - < v8 eret instruction - subtype of BR_INDIRECT
- _ocsd_
instr_ subtype_ OCSD_ S_ INSTR_ V8_ RET - < v8 ret instruction - subtype of BR_INDIRECT
- _ocsd_
instr_ type_ OCSD_ INSTR_ BR - < Immediate Branch instruction
- _ocsd_
instr_ type_ OCSD_ INSTR_ BR_ INDIRECT - < Indirect Branch instruction
- _ocsd_
instr_ type_ OCSD_ INSTR_ DSB_ DMB - < Barrier : DSB or DMB instruction
- _ocsd_
instr_ type_ OCSD_ INSTR_ ISB - < Barrier : ISB instruction
- _ocsd_
instr_ type_ OCSD_ INSTR_ OTHER - < Other instruction - not significant for waypoints.
- _ocsd_
instr_ type_ OCSD_ INSTR_ TSTART - < PE Arch feature FEAT_TME - TSTART instruction
- _ocsd_
instr_ type_ OCSD_ INSTR_ WFI_ WFE - < WFI or WFE traced as direct branch
- _ocsd_
isa_ ocsd_ isa_ aarch64 - < V8 AArch64
- _ocsd_
isa_ ocsd_ isa_ arm - < V7 ARM 32, V8 AArch32
- _ocsd_
isa_ ocsd_ isa_ custom - < Instruction set - custom arch decoder
- _ocsd_
isa_ ocsd_ isa_ jazelle - < Jazelle - unsupported in trace
- _ocsd_
isa_ ocsd_ isa_ tee - < Thumb EE - unsupported
- _ocsd_
isa_ ocsd_ isa_ thumb2 - < Thumb2 -> 16/32 bit instructions
- _ocsd_
isa_ ocsd_ isa_ unknown - < ISA not yet known
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ ANY - < Any sec level / EL - live system use current EL + sec state
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL2 - < Non Secure EL2
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL3 - < Secure EL3
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL1N - < Non Secure EL1/0
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL1R - < Realm EL1/0
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL1S - < Secure EL1/0
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL2R - < Realm EL2
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ EL2S - < Secure EL2
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ N - < Any Non Secure
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ NONE - < Mem space unknown / not yet set
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ R - < Any Realm
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ ROOT - < Root
- _ocsd_
mem_ space_ acc_ t_ OCSD_ MEM_ SPACE_ S - < Any Secure
- _ocsd_
pkt_ atm_ type_ ATOM_ PATTERN - < set atom packet using pattern supplied
- _ocsd_
pkt_ atm_ type_ ATOM_ REPEAT - < set atom packet using repeat value (convert to pattern)
- _ocsd_
pkt_ va_ size_ VA_ 32BIT - _ocsd_
pkt_ va_ size_ VA_ 64BIT - _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ ATOM - !< atom waypoint packet.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ A_ SYNC - !< Alignment Synchronisation.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ BAD_ SEQUENCE - !< invalid sequence for packet type
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ BRANCH_ ADDRESS - !< Branch address with optional exception.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ BRANCH_ OR_ BYPASS_ EOT - _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ CONTEXT_ ID - !< context id packet.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ EXCEPTION_ RET - !< exception return.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ IGNORE - !< ignore packet.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ INCOMPLETE_ EOT - !< flushing incomplete packet at end of trace.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ I_ SYNC - !< Instruction sync with address.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ NOERROR - !< no error base type packet.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ NOTSYNC - !< no sync found yet
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ RESERVED - !< Reserved packet encoding
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ TIMESTAMP - !< timestamp packet.
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ TPIU_ PAD_ EOB - _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ TRIGGER - !< trigger packet
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ VMID - !< VMID packet
- _ocsd_
ptm_ pkt_ type_ PTM_ PKT_ WPOINT_ UPDATE - !< Waypoint update.
- _ocsd_
sec_ level_ ocsd_ sec_ nonsecure - < Core is in non-secure state
- _ocsd_
sec_ level_ ocsd_ sec_ realm - < PE FEAT_RME: Core is in realm state.
- _ocsd_
sec_ level_ ocsd_ sec_ root - < PE FEAT_RME: Core is in root state.
- _ocsd_
sec_ level_ ocsd_ sec_ secure - < Core is in secure state
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ ASYNC - < Alignment synchronisation packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ BAD_ SEQUENCE - < Incorrect protocol sequence
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ C8 - < Set lower 8 bits of current channel
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ C16 - < Set current channel
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ D4 - < 4 bit data payload packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ D8 - < 8 bit data payload packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ D16 - < 16 bit data payload packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ D32 - < 32 bit data payload packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ D64 - < 64 bit data payload packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ FLAG - < Flag packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ FREQ - < Frequency packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ GERR - < Global error packet - protocol error but unknown which master had error
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ INCOMPLETE_ EOT - < Incomplete packet flushed at end of trace.
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ M8 - < Set current master
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ MERR - < Master error packet - current master detected an error (e.g. dropped trace)
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ NOTSYNC - < Not synchronised
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ NO_ ERR_ TYPE - < No error in error packet marker.
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ NULL - < Null packet
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ RESERVED - < Reserved packet header / not supported by CS-STM
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ TRIG - < Trigger event packet.
- _ocsd_
stm_ pkt_ type_ STM_ PKT_ VERSION - < Version packet
- _ocsd_
stm_ ts_ type_ STM_ TS_ GREY - < TS encoding grey coded.
- _ocsd_
stm_ ts_ type_ STM_ TS_ NATBINARY - < TS encoding natural binary
- _ocsd_
stm_ ts_ type_ STM_ TS_ UNKNOWN - < TS encoding unknown at present.
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ BUILTIN_ END - < Invalid protocol - built-in protocol types end marker
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 0 - < Values from this onwards are assigned to external registered decoders
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 1 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 2 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 3 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 4 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 5 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 6 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 7 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 8 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ CUSTOM_ 9 - _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ END - < Invalid protocol - protocol types end marker
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ ETE - < ETE trace protocol decoder
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ ETMV3 - < ETMV3 instruction and data trace protocol decoder.
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ ETMV4D - < ETMV4 data trace protocol decoder.
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ ETMV4I - < ETMV4 instruction trace protocol decoder.
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ PTM - < PTM program flow instruction trace protocol decoder.
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ STM - < STM system trace protocol decoder.
- _ocsd_
trace_ protocol_ t_ OCSD_ PROTOCOL_ UNKNOWN - < Protocol unknown
- _rcdtl_
rawframe_ elem_ t_ OCSD_ FRM_ FSYNC - < Frame Sync Data
- _rcdtl_
rawframe_ elem_ t_ OCSD_ FRM_ HSYNC - < HSYNC data
- _rcdtl_
rawframe_ elem_ t_ OCSD_ FRM_ ID_ DATA - < unpacked data for ID
- _rcdtl_
rawframe_ elem_ t_ OCSD_ FRM_ NONE - < None data operation on data path. (EOT etc.)
- _rcdtl_
rawframe_ elem_ t_ OCSD_ FRM_ PACKED - < Raw packed frame data
- _trace_
on_ reason_ t_ TRACE_ ON_ EX_ DEBUG - < Trace restarted due to debug exit
- _trace_
on_ reason_ t_ TRACE_ ON_ NORMAL - < Trace on at start of trace or filtering discontinuity
- _trace_
on_ reason_ t_ TRACE_ ON_ OVERFLOW - < Trace on due to prior trace overflow discontinuity
- _trace_
sync_ marker_ t_ ELEM_ MARKER_ TS - < Marker for timestamp element
- _unsync_
info_ t_ UNSYNC_ BAD_ IMAGE - < bad program image - resync to restart.
- _unsync_
info_ t_ UNSYNC_ BAD_ PACKET - < bad packet at input - resync to restart.
- _unsync_
info_ t_ UNSYNC_ DISCARD - < specl trace discard - need to re-sync.
- _unsync_
info_ t_ UNSYNC_ EOT - < end of trace - no additional info
- _unsync_
info_ t_ UNSYNC_ INIT_ DECODER - < decoder intialisation - start of trace.
- _unsync_
info_ t_ UNSYNC_ OVERFLOW - < overflow packet - need to re-sync / end of trace after overflow.
- _unsync_
info_ t_ UNSYNC_ RESET_ DECODER - < decoder reset.
- _unsync_
info_ t_ UNSYNC_ UNKNOWN - < unknown /undefined
Functions§
- imaxabs⚠
- imaxdiv⚠
- ocsd_
create_ ⚠dcd_ tree - Create a decode tree.
- ocsd_
cust_ ⚠protocol_ to_ str - Get a string representation of a custom protocol packet.
- ocsd_
def_ ⚠errlog_ config_ output - Configure the output logger. Choose STDOUT, STDERR and/or log to file. Optionally provide a log file name.
- ocsd_
def_ ⚠errlog_ init - Initialise the library error logger.
- ocsd_
def_ ⚠errlog_ msgout - Print a message via the library output printer - if enabled.
- ocsd_
def_ ⚠errlog_ set_ strprint_ cb - Configure the library default error logger to send all strings it is outputting back to the client to allow printing within the client application. This is in additional to any other log destinations set in ocsd_def_errlog_init().
- ocsd_
deregister_ ⚠decoders - Clear all registered decoders - library cleanup
- ocsd_
destroy_ ⚠dcd_ tree - Destroy a decode tree.
- ocsd_
dt_ ⚠add_ binfile_ mem_ acc - Add a binary file based memory range accessor to the decode tree.
- ocsd_
dt_ ⚠add_ binfile_ region_ mem_ acc - Add a binary file based memory range accessor to the decode tree.
- ocsd_
dt_ ⚠add_ buffer_ mem_ acc - Add a memory buffer based memory range accessor to the decode tree.
- ocsd_
dt_ ⚠add_ callback_ mem_ acc - Add a memory access callback function. The decoder will call the function for opcode addresses in the address range supplied for the memory spaces covered.
- ocsd_
dt_ ⚠add_ callback_ trcid_ mem_ acc - Add a memory access callback function. The decoder will call the function for opcode addresses in the address range supplied for the memory spaces covered.
- ocsd_
dt_ ⚠attach_ packet_ callback - Attach a callback function to the packet processor.
- ocsd_
dt_ ⚠create_ decoder - Creates a decoder that is registered with the library under the supplied name. Flags determine if a full packet processor / packet decoder pair or packet processor only is created. Uses the supplied configuration structure.
- ocsd_
dt_ ⚠get_ decode_ stats - Get the stats block for the channel indicated. Caller must check p_stats_block->version to esure that the block is filled in a compatible manner.
- ocsd_
dt_ ⚠process_ data - Input trace data into the decoder.
- ocsd_
dt_ ⚠remove_ decoder - Remove a decoder from the tree and destroy it.
- ocsd_
dt_ ⚠remove_ mem_ acc - Remove a memory accessor by address and memory space.
- ocsd_
dt_ ⚠reset_ decode_ stats - Reset the stats block for the chosens decode channel. stats block is reset independently of the decoder reset to allow counts across multiple decode runs.
- ocsd_
dt_ ⚠set_ gen_ elem_ outfn - Set the trace element output callback function.
- ocsd_
dt_ ⚠set_ gen_ elem_ printer - Set a library printer on the generic element output of a full decoder.
- ocsd_
dt_ ⚠set_ mem_ acc_ cacheing - ocsd_
dt_ ⚠set_ pkt_ protocol_ printer - Attach a library printer to the packet processor. May be attached to the main packet output, or the monitor output if the main packet output is to be attached to a packet decoder in the datapath.
- ocsd_
dt_ ⚠set_ raw_ frame_ printer - Set a raw frame printer on the trace frame demuxer. Allows inspection of raw trace data frames for debug. Prints via the library default error logging mechanisms.
- ocsd_
err_ ⚠str - Convert an error code into a string.
- ocsd_
gen_ ⚠elem_ init - Init a generic element with type, clearing any flags etc.
- ocsd_
gen_ ⚠elem_ str - Get a string representation of the generic trace element.
- ocsd_
get_ ⚠last_ err - returns the last error logged by the system, with the related trace byte index, trace channel id, and any error message related string. If index or channel ID are not valid these will return OCSD_BAD_TRC_INDEX and OCSD_BAD_CS_SRC_ID.
- ocsd_
get_ ⚠version - @name Library Version API
- ocsd_
get_ ⚠version_ str - Get library version string
- ocsd_
pkt_ ⚠str - Take a packet structure and render a string representation of the packet data.
- ocsd_
register_ ⚠custom_ decoder - Register a custom decoder with the library
- ocsd_
tl_ ⚠log_ mapped_ mem_ ranges - strtoimax⚠
- strtoumax⚠
- wcstoimax⚠
- wcstoumax⚠
Type Aliases§
- FnDef
Logger Print StrCB - function pointer tyee for library default logger output to allow client to print zero terminated output string
- FnDef
PktData In - function pointer type for packet processor packet output sink, packet analyser/decoder input - generic declaration
- FnDef
PktData Mon - function pointer type for packet processor packet monitor sink, raw packet monitor / display input - generic declaration
- FnTrace
Elem In - function pointer type for decoder outputs. all protocols, generic data element input
- Fn_
MemAccID_ CB - Callback function definition for callback function memory accessor type.
- Fn_
MemAcc_ CB - Callback function definition for callback function memory accessor type.
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __
gwchar_ t - __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds64_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
time_ t - __
timer_ t - __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - _event_
t - _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.
- _memtrans_
t - _ocsd_
arch_ version - Core Architecture Version
- _ocsd_
armv7_ exception - _ocsd_
atm_ val - _ocsd_
c_ api_ cb_ types - Callback interface type when attaching monitor/sink to packet processor
- _ocsd_
core_ profile - Core Profile
- _ocsd_
datapath_ op_ t - Trace Datapath operations.
- _ocsd_
datapath_ resp_ t - Trace Datapath responses
- _ocsd_
dcd_ tree_ src_ t - Indicates if the trace source will be frame formatted or a single protocol source. Used in decode tree creation and configuration code.
- _ocsd_
err_ severity_ t - Error Severity Type
- _ocsd_
err_ t - Library Error return type
- _ocsd_
etmv3_ pkt_ type - @name ETMv3 Packet Types @{
- _ocsd_
etmv4_ d_ pkt_ type - _ocsd_
etmv4_ i_ pkt_ type - I stream packets.
- _ocsd_
ex_ level - Exception level type
- _ocsd_
gen_ trc_ elem_ t - Enum for generic element types
- _ocsd_
iSync_ reason - Isync Reason - common to PTM and ETMv3
- _ocsd_
instr_ subtype - instruction sub types - addiitonal information passed to the output packets for trace analysis tools.
- _ocsd_
instr_ type - instruction types - significant for waypoint calculations
- _ocsd_
isa - Instruction Set Architecture type
- _ocsd_
mem_ space_ acc_ t - memory space bitfield enum for available security states and exception levels used when accessing memory.
- _ocsd_
pkt_ atm_ type - _ocsd_
pkt_ va_ size - @name Common Packet Types @{
- _ocsd_
ptm_ pkt_ type - @name PTM Packet Types @{
- _ocsd_
sec_ level - Security level type
- _ocsd_
stm_ pkt_ type - STM protocol packet types. Contains both protocol packet types and markers for unsynced processor state and bad packet sequences.
- _ocsd_
stm_ ts_ type - STM timestamp encoding type. Extracted from STM version packet. CS-STM supports Natural binary and grey encodings.
- _ocsd_
trace_ protocol_ t - Trace Protocol Builtin Types + extern
- _rcdtl_
rawframe_ elem_ t - Raw frame element data types Data blocks types output from ITrcRawFrameIn.
- _trace_
on_ reason_ t - _trace_
sync_ marker_ t - _unsync_
info_ t - dcd_
tree_ handle_ t - Handle to decode tree
- etmv3_
context_ t - etmv3_
data_ t - etmv3_
isync_ t - etmv4_
addr_ val_ t - a broadcast address value.
- etmv4_
context_ t - etmv4_
trace_ info_ t - fnCreate
Custom Decoder - Function to create a decoder instance
- fnDecode
ArmInstCB - callback function to connect an ARM instruction decoder Implements IInstrDecode::DecodeInstruction with addition of library context pointer.
- fnDestroy
Custom Decoder - Function to destroy a decoder instance indicated by decoder handle.
- fnGen
Elem OpCB - callback function to connect into the generic element output point Implements ITrcGenElemIn::TraceElemIn with addition of library context pointer.
- fnGetCSID
From Config - Function to extract the CoreSight Trace ID from the configuration structure.
- fnLog
ErrorCB - callback functions to connect into the library error logging mechanism Implements ITraceErrorLog::LogError with addition of library context pointer.
- fnLog
MsgCB - callback functions to connect into the library error logging mechanism Implements ITraceErrorLog::LogMessage with addition of library context pointer.
- fnMem
AccessCB - callback function to connect the memory accessor interface Implements ITargetMemAccess::ReadTargetMemory with addition of library context pointer.
- fnPacket
ToString - Function to convert a protocol specific trace packet to human readable string
- fnPkt
Data SinkCB - callback function to connect to the packet sink interface, on the main decode data path - use if decoder created as packet processor only
- fnPkt
MonCB - callback function to connect to the packet monitor interface of the packet processor
Implements IPktRawDataMon::RawPacketDataMon
with addition of library context pointer. - fnTrace
Data In - Raw trace data input function - a decoder must have one of these Implements ITrcDataIn with the addition of a decoder handle to provide context in the decoder.
- fnUpdate
PktMon Flags - Function to update the in-use flags for the packet sinks
- int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - ocsd_
arch_ profile_ t - Combined architecture and profile descriptor for a core
- ocsd_
decode_ stats_ t - @name Decode statistics
- ocsd_
demux_ stats_ t - @name Demux Statistics
- ocsd_
ete_ cfg - @name ETE config Types @{
- ocsd_
etmv3_ cfg - ocsd_
etmv3_ excep - ocsd_
etmv3_ pkt - ocsd_
etmv4_ cfg - ocsd_
etmv4_ d_ pkt - ocsd_
etmv4_ i_ pkt - ocsd_
extern_ dcd_ cb_ fns - an instance of this is owned by the decoder, filled in by the library - allows the CB fns in the library decode tree to be called.
- ocsd_
extern_ dcd_ fact_ t - set of functions and callbacks to create an extern custom decoder in the library via the C API interface. This structure is registered with the library by name and then decoders of the type can be created on the decode tree.
- ocsd_
extern_ dcd_ inst_ t - Owned by the library instance object, this structure is filled in by the ocsd_extern_dcd_fact_t createDecoder() function.
- ocsd_
file_ mem_ region_ t - memory region type for adding multi-region binary files to memory access interface
- ocsd_
generic_ trace_ elem - ocsd_
hndl_ err_ log_ t - ocsd_
hndl_ rdr_ t - ocsd_
instr_ info - Instruction decode request structure.
- ocsd_
pe_ context - Core(PE) context structure records current security state, exception level, VMID and ContextID for core.
- ocsd_
pkt_ atom - ocsd_
pkt_ byte_ sz_ val - ocsd_
pkt_ vaddr - ocsd_
ptm_ cfg - ocsd_
ptm_ excep - ocsd_
ptm_ pkt - 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.
- ocsd_
stm_ pkt - STM trace packet
- ocsd_
swt_ info_ t - @name Software Trace Packets Info
- ocsd_
trc_ index_ t - ocsd_
vaddr_ t - ptm_
context_ t - trace_
event_ t - trace_
marker_ payload_ t - trace_
sw_ ite_ t - uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t - wchar_t
Unions§
- _etmv4_
trace_ info_ t - _ocsd_
etmv4_ i_ pkt__ bindgen_ ty_ 7 - ! valid bits for packet elements (addresses have their own valid bits).
- _ocsd_
generic_ trace_ elem__ bindgen_ ty_ 1 - ! per element flags
- _ocsd_
generic_ trace_ elem__ bindgen_ ty_ 2 - ! packet specific payloads
- _ocsd_
stm_ pkt__ bindgen_ ty_ 1 - _ocsd_
swt_ info__ bindgen_ ty_ 1