37 #ifndef ARM_TRC_PKT_ELEM_PTM_H_INCLUDED
38 #define ARM_TRC_PKT_ELEM_PTM_H_INCLUDED
67 const uint16_t number);
122 virtual void toStringFmt(
const uint32_t fmtFlags, std::string &str)
const;
125 void packetTypeName(
const ocsd_ptm_pkt_type pkt_type, std::string &name, std::string &desc)
const;
126 void getAtomStr(std::string &valStr)
const;
127 void getBranchAddressStr(std::string &valStr)
const;
128 void getExcepStr(std::string &excepStr)
const;
129 void getISAStr(std::string &isaStr)
const;
130 void getCycleCountStr(std::string &subStr)
const;
131 void getISyncStr(std::string &valStr)
const;
132 void getTSStr(std::string &valStr)
const;
const uint8_t getVMID() const
const ocsd_pkt_atom & getAtom() const
virtual void toStringFmt(const uint32_t fmtFlags, std::string &str) const
void SetAtomFromPHdr(const uint8_t pHdr)
void UpdateTimestamp(const uint64_t tsVal, const uint8_t updateBits)
const ocsd_armv7_exception excepType() const
const ocsd_vaddr_t getAddrVal() const
const uint32_t getCCVal() const
const bool VMIDUpdated() const
const uint32_t getCtxtID() const
void Clear()
clear update data in packet ready for new one.
virtual const void * c_pkt() const
return the underlying C API packet structure
void ResetState()
reset intra packet state data - on full decoder reset.
void UpdateAddress(const ocsd_vaddr_t partAddrVal, const int updateBits)
const ocsd_iSync_reason iSyncReason() const
const bool PEContextUpdated() const
const bool ISAChanged() const
const bool isBranchExcepPacket() const
virtual void toString(std::string &str) const
const uint8_t getAltISA() const
const uint8_t getNS() const
const uint16_t excepNum() const
const bool CtxtIDUpdated() const
void SetCycleAccAtomFromPHdr(const uint8_t pHdr)
const uint8_t getHyp() const
PtmTrcPacket & operator=(const ocsd_ptm_pkt *p_pkt)
Class to provide trace element strings for printing.
void SetISyncReason(const ocsd_iSync_reason reason)
void SetCycleCount(const uint32_t cycleCount)
void UpdateContextID(const uint32_t contextID)
void UpdateAltISA(const int AltISA)
const ocsd_ptm_pkt_type getType() const
void UpdateHyp(const int Hyp)
void UpdateISA(const ocsd_isa isa)
enum _ocsd_armv7_exception ocsd_armv7_exception
enum _ocsd_ptm_pkt_type ocsd_ptm_pkt_type
void UpdateVMID(const uint8_t VMID)
const ocsd_isa getISA() const
void SetException(const ocsd_armv7_exception type, const uint16_t number)
void UpdateNS(const int NS)
enum _ocsd_iSync_reason ocsd_iSync_reason
void SetType(const ocsd_ptm_pkt_type p_type)
const bool isBadPacket() const
void SetErrType(const ocsd_ptm_pkt_type e_type)
@ PTM_PKT_BAD_SEQUENCE
invalid sequence for packet type
ocsd_armv7_exception type
struct _ocsd_ptm_excep::@27 bits
ocsd_ptm_pkt_type err_type
ocsd_iSync_reason i_sync_reason
OpenCSD : Standard printable element base class.