OpenCSD - CoreSight Trace Decode Library
0.14.1
|
Go to the documentation of this file.
34 #ifndef ARM_TRC_GEN_ELEM_H_INCLUDED
35 #define ARM_TRC_GEN_ELEM_H_INCLUDED
68 void setTS(
const uint64_t ts,
const bool freqChange =
false);
87 virtual void toString(std::string &str)
const;
101 void printSWInfoPkt(std::ostringstream &oss)
const;
102 void clearPerPktData();
174 inline void OcsdTraceElement::clearPerPktData()
220 #endif // ARM_TRC_GEN_ELEM_H_INCLUDED
void setSWTInfo(const ocsd_swt_info_t swt_info)
enum _ocsd_instr_type ocsd_instr_type
void setUnSyncEOTReason(const unsync_info_t reason)
trace_on_reason_t trace_on_reason
unsync_info_t unsync_eot_info
Generic trace element class.
ocsd_swt_info_t sw_trace_info
OpenCSD : Standard printable element base class.
const void * ptr_extended_data
uint32_t excep_data_marker
const ocsd_gen_trc_elem_t getType() const
void setAddrRange(const ocsd_vaddr_t st_addr, const ocsd_vaddr_t en_addr, const int num_instr=1)
void setEvent(const event_t ev_type, const uint16_t number)
void updateType(const ocsd_gen_trc_elem_t type)
change type only - no init
uint32_t exception_number
ocsd_instr_subtype last_i_subtype
const ocsd_pe_context & getContext() const
OpenCSD : Decoder Output Generic Element types.
void setISA(const ocsd_isa isa_update)
void setContext(const ocsd_pe_context &new_context)
Class to provide trace element strings for printing.
void copyPersistentData(const OcsdTraceElement &src)
enum _ocsd_instr_subtype ocsd_instr_subtype
enum _unsync_info_t unsync_info_t
enum _ocsd_gen_trc_elem_t ocsd_gen_trc_elem_t
@ OCSD_GEN_TRC_ELEM_UNKNOWN
void setLastInstrCond(const int is_cond)
void setTS(const uint64_t ts, const bool freqChange=false)
void setTraceOnReason(const trace_on_reason_t reason)
void setExceptionNum(uint32_t excepNum)
enum _trace_on_reason_t trace_on_reason_t
ocsd_instr_type last_i_type
virtual void toString(std::string &str) const
void setType(const ocsd_gen_trc_elem_t type)
set type and init flags
void setExtendedDataPtr(const void *data_ptr)
void setCycleCount(const uint32_t cycleCount)
ocsd_gen_trc_elem_t elem_type
trace_event_t trace_event
OcsdTraceElement & operator=(const ocsd_generic_trace_elem *p_elem)
virtual ~OcsdTraceElement()
void setLastInstrInfo(const bool exec, const ocsd_instr_type last_i_type, const ocsd_instr_subtype last_i_subtype, const uint8_t size)
void setAddrStart(const ocsd_vaddr_t st_addr)