|
OpenCSD - CoreSight Trace Decode Library 1.4.0
|
ETMv3 Trace Protocol Packet. More...
#include <trc_pkt_elem_etmv3.h>


Public Member Functions | |
| EtmV3TrcPacket () | |
| ~EtmV3TrcPacket () | |
| EtmV3TrcPacket & | operator= (const ocsd_etmv3_pkt *p_pkt) |
| operator const ocsd_etmv3_pkt * () const | |
| operator const ocsd_etmv3_pkt & () const | |
| virtual const void * | c_pkt () const |
| return the underlying C API packet structure More... | |
| void | Clear () |
| clear update data in packet ready for new one. More... | |
| void | ResetState () |
| reset intra packet state data -on full decoder reset. More... | |
| void | SetType (const ocsd_etmv3_pkt_type p_type) |
| void | SetErrType (const ocsd_etmv3_pkt_type e_type) |
| void | UpdateAddress (const ocsd_vaddr_t partAddrVal, const int updateBits) |
| void | SetException (const ocsd_armv7_exception type, const uint16_t number, const bool cancel, const bool cm_type, const int irq_n=0, const int resume=0) |
| void | UpdateNS (const int NS) |
| void | UpdateAltISA (const int AltISA) |
| void | UpdateHyp (const int Hyp) |
| void | UpdateISA (const ocsd_isa isa) |
| void | UpdateContextID (const uint32_t contextID) |
| void | UpdateVMID (const uint8_t VMID) |
| void | UpdateTimestamp (const uint64_t tsVal, const uint8_t updateBits) |
| bool | UpdateAtomFromPHdr (const uint8_t pHdr, const bool cycleAccurate) |
| Interpret P Hdr, return true if valid, false if not. More... | |
| void | SetDataOOOTag (const uint8_t tag) |
| void | SetDataValue (const uint32_t value) |
| void | UpdateDataAddress (const uint32_t value, const uint8_t valid_bits) |
| void | UpdateDataEndian (const uint8_t BE_Val) |
| void | SetCycleCount (const uint32_t cycleCount) |
| void | SetISyncReason (const ocsd_iSync_reason reason) |
| void | SetISyncHasCC () |
| void | SetISyncIsLSiP () |
| void | SetISyncNoAddr () |
| const ocsd_etmv3_pkt_type | getType () const |
| const bool | isBadPacket () const |
| const int | AltISA () const |
| const ocsd_isa | ISA () const |
| const bool | changedISA () const |
| const bool | isCtxtUpdated () const |
| const bool | isCtxtFlagsUpdated () const |
| const bool | isNS () const |
| const bool | isHyp () const |
| const bool | isCtxtIDUpdated () const |
| const uint32_t | getCtxtID () const |
| const bool | isVMIDUpdated () const |
| const uint32_t | getVMID () const |
| const uint32_t | getCycleCount () const |
| const uint64_t | getTS () const |
| const bool | isExcepPkt () const |
| const ocsd_armv7_exception | excepType () const |
| const uint16_t | excepNum () const |
| const bool | isExcepCancel () const |
| const ocsd_iSync_reason | getISyncReason () const |
| const bool | getISyncHasCC () const |
| const bool | getISyncIsLSiPAddr () const |
| const bool | getISyncNoAddr () const |
| const ocsd_vaddr_t | getAddr () const |
| const ocsd_vaddr_t | getDataAddr () const |
| const ocsd_pkt_atom & | getAtom () const |
| const uint8_t | getPHdrFmt () const |
| virtual void | toString (std::string &str) const |
| virtual void | toStringFmt (const uint32_t fmtFlags, std::string &str) const |
Public Member Functions inherited from TrcPacketBase | |
| TrcPacketBase () | |
| virtual | ~TrcPacketBase () |
| virtual const void * | c_pkt () const =0 |
| return the underlying C API packet structure More... | |
Public Member Functions inherited from trcPrintableElem | |
| trcPrintableElem () | |
| virtual | ~trcPrintableElem () |
| virtual void | toString (std::string &str) const |
| virtual void | toStringFmt (const uint32_t fmtFlags, std::string &str) const |
Additional Inherited Members | |
Static Public Member Functions inherited from trcPrintableElem | |
| static void | getValStr (std::string &valStr, const int valTotalBitSize, const int valValidBits, const uint64_t value, const bool asHex=true, const int updateBits=0) |
ETMv3 Trace Protocol Packet.
This class represents a single ETMv3 trace packet, along with intra packet state.
Definition at line 53 of file trc_pkt_elem_etmv3.h.
| EtmV3TrcPacket::EtmV3TrcPacket | ( | ) |
| EtmV3TrcPacket::~EtmV3TrcPacket | ( | ) |
|
inline |
|
inlinevirtual |
return the underlying C API packet structure
Implements TrcPacketBase.
Definition at line 68 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 109 of file trc_pkt_elem_etmv3.h.
| void EtmV3TrcPacket::Clear | ( | ) |
clear update data in packet ready for new one.
|
inline |
Definition at line 127 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 126 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 135 of file trc_pkt_elem_etmv3.h.
|
inline |
|
inline |
Definition at line 118 of file trc_pkt_elem_etmv3.h.
|
inline |
|
inline |
Definition at line 136 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 131 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 132 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 133 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 130 of file trc_pkt_elem_etmv3.h.
|
inline |
|
inline |
Definition at line 123 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 104 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 120 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 108 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 113 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 117 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 128 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 125 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 115 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 114 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 119 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 65 of file trc_pkt_elem_etmv3.h.
|
inline |
Definition at line 64 of file trc_pkt_elem_etmv3.h.
| EtmV3TrcPacket & EtmV3TrcPacket::operator= | ( | const ocsd_etmv3_pkt * | p_pkt | ) |
| void EtmV3TrcPacket::ResetState | ( | ) |
reset intra packet state data -on full decoder reset.
| void EtmV3TrcPacket::SetException | ( | const ocsd_armv7_exception | type, |
| const uint16_t | number, | ||
| const bool | cancel, | ||
| const bool | cm_type, | ||
| const int | irq_n = 0, |
||
| const int | resume = 0 |
||
| ) |
|
virtual |
Reimplemented from trcPrintableElem.
|
virtual |
Reimplemented from trcPrintableElem.
| void EtmV3TrcPacket::UpdateAddress | ( | const ocsd_vaddr_t | partAddrVal, |
| const int | updateBits | ||
| ) |
| bool EtmV3TrcPacket::UpdateAtomFromPHdr | ( | const uint8_t | pHdr, |
| const bool | cycleAccurate | ||
| ) |
Interpret P Hdr, return true if valid, false if not.
| void EtmV3TrcPacket::UpdateDataAddress | ( | const uint32_t | value, |
| const uint8_t | valid_bits | ||
| ) |
| void EtmV3TrcPacket::UpdateTimestamp | ( | const uint64_t | tsVal, |
| const uint8_t | updateBits | ||
| ) |