36 #ifndef ARM_TRC_CMP_CFG_ETMV3_H_INCLUDED 37 #define ARM_TRC_CMP_CFG_ETMV3_H_INCLUDED 118 const bool hasTS()
const;
149 return ((
int)m_cfg.
reg_idr & 0xF0) >> 4;
175 return (
bool)((m_cfg.
arch_ver == ARCH_V7) && (m_cfg.
core_prof == profile_CortexM));
233 #endif // ARM_TRC_CMP_CFG_ETMV3_H_INCLUDED const bool hasVirtExt() const
processor has virtualisation extensions.
static const uint32_t CTRL_CYCLEACC
static const uint32_t CCER_HAS_TS
virtual const uint8_t getTraceID() const
CoreSight Trace ID for this device.
const int CtxtIDBytes() const
number of context ID bytes traced 1,2,4;
const bool isInstrTrace() const
instruction trace present.
const bool isTSEnabled() const
Timestamp trace is enabled.
static const uint32_t CCER_VIRTEXT
EtmTraceMode const GetTraceMode() const
return trace mode
const bool isDataValTrace() const
data value trace present.
const bool isDataTrace() const
either or both data trace types present.
const bool isV7MArch() const
source is V7M architecture
const bool hasTS() const
Timestamps implemented in trace.
static const uint32_t CTRL_VMID_ENA
static const uint32_t IDR_ALTBRANCH
static const uint32_t CTRL_TS_ENA
Interpreter class for etm v3 config structure.
static const uint32_t CTRL_DATAVAL
EtmV3Config & operator=(const ocsd_etmv3_cfg *p_cfg)
copy assignment operator for C-API base structure into class.
EtmTraceMode
combination enum to describe trace mode.
const int MinorRev() const
return X revision in 3.X
static const uint32_t CCER_TS64BIT
instr + data value + data address
instruction + data address
const bool isDataAddrTrace() const
data address trace present.
Base class for configuration data on CoreSight trace component.
data value + address trace
const bool isVMIDTrace() const
VMID tracing enabled.
ocsd_core_profile_t core_prof
const ocsd_core_profile_t getCoreProfile() const
core profile.
const bool isAltBranch() const
Alternate branch packet encoding used.
const bool TSPkt64() const
timestamp packet is 64 bits in size.
const ocsd_arch_version_t getArchVersion() const
architecture version
ocsd_arch_version_t arch_ver
static const uint32_t CTRL_DATAADDR
static const uint32_t CTRL_DATAONLY
const bool isCycleAcc() const
return true if cycle accurate tracing enabled.