OpenCSD - CoreSight Trace Decode Library 1.4.0
trc_gen_elem_types.h
Go to the documentation of this file.
1
8/*
9 * Redistribution and use in source and binary forms, with or without modification,
10 * are permitted provided that the following conditions are met:
11 *
12 * 1. Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 *
15 * 2. Redistributions in binary form must reproduce the above copyright notice,
16 * this list of conditions and the following disclaimer in the documentation
17 * and/or other materials provided with the distribution.
18 *
19 * 3. Neither the name of the copyright holder nor the names of its contributors
20 * may be used to endorse or promote products derived from this software without
21 * specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#ifndef ARM_TRC_GEN_ELEM_TYPES_H_INCLUDED
36#define ARM_TRC_GEN_ELEM_TYPES_H_INCLUDED
37
45
48{
69
70
71typedef enum _trace_on_reason_t {
76
77typedef struct _trace_event_t {
78 uint16_t ev_type;
79 uint16_t ev_number;
81
82typedef enum _unsync_info_t {
91
95
98 uint32_t value;
100
101typedef enum _memtrans_t {
107
108typedef struct _sw_ite_t {
109 uint8_t el;
110 uint64_t value;
112
119 uint64_t timestamp;
120 uint32_t cycle_count;
125 union {
126 struct {
127 uint32_t last_instr_exec:1;
128 uint32_t last_instr_sz:3;
129 uint32_t has_cc:1;
130 uint32_t cpu_freq_change:1;
131 uint32_t excep_ret_addr:1;
132 uint32_t excep_data_marker:1;
133 uint32_t extended_data:1;
134 uint32_t has_ts:1;
135 uint32_t last_instr_cond:1;
137 };
138 uint32_t flag_bits;
139 };
140
142 union {
152 };
153
154 const void *ptr_extended_data;
157
158
159typedef enum _event_t {
164
165
167#endif // ARM_TRC_GEN_ELEM_TYPES_H_INCLUDED
168
169/* End of File opencsd/trc_gen_elem_types.h */
enum _trace_on_reason_t trace_on_reason_t
_trace_sync_marker_t
enum _unsync_info_t unsync_info_t
struct _sw_ite_t trace_sw_ite_t
_unsync_info_t
enum _event_t event_t
struct _ocsd_generic_trace_elem ocsd_generic_trace_elem
enum _memtrans_t trace_memtrans_t
struct _trace_event_t trace_event_t
enum _ocsd_gen_trc_elem_t ocsd_gen_trc_elem_t
_trace_on_reason_t
struct _trace_marker_payload_t trace_marker_payload_t
enum _trace_sync_marker_t trace_sync_marker_t
_ocsd_gen_trc_elem_t
@ OCSD_MEM_TRANS_FAIL
@ OCSD_MEM_TRANS_TRACE_INIT
@ OCSD_MEM_TRANS_COMMIT
@ OCSD_MEM_TRANS_START
@ ELEM_MARKER_TS
@ UNSYNC_DISCARD
@ UNSYNC_OVERFLOW
@ UNSYNC_UNKNOWN
@ UNSYNC_INIT_DECODER
@ UNSYNC_RESET_DECODER
@ UNSYNC_BAD_PACKET
@ UNSYNC_EOT
@ EVENT_NUMBERED
@ EVENT_UNKNOWN
@ EVENT_TRIGGER
@ TRACE_ON_OVERFLOW
@ TRACE_ON_EX_DEBUG
@ TRACE_ON_NORMAL
@ OCSD_GEN_TRC_ELEM_MEMTRANS
@ OCSD_GEN_TRC_ELEM_CUSTOM
@ OCSD_GEN_TRC_ELEM_ADDR_NACC
@ OCSD_GEN_TRC_ELEM_EVENT
@ OCSD_GEN_TRC_ELEM_UNKNOWN
@ OCSD_GEN_TRC_ELEM_CYCLE_COUNT
@ OCSD_GEN_TRC_ELEM_SYNC_MARKER
@ OCSD_GEN_TRC_ELEM_TIMESTAMP
@ OCSD_GEN_TRC_ELEM_INSTRUMENTATION
@ OCSD_GEN_TRC_ELEM_INSTR_RANGE
@ OCSD_GEN_TRC_ELEM_EO_TRACE
@ OCSD_GEN_TRC_ELEM_EXCEPTION_RET
@ OCSD_GEN_TRC_ELEM_ADDR_UNKNOWN
@ OCSD_GEN_TRC_ELEM_EXCEPTION
@ OCSD_GEN_TRC_ELEM_SWTRACE
@ OCSD_GEN_TRC_ELEM_PE_CONTEXT
@ OCSD_GEN_TRC_ELEM_NO_SYNC
@ OCSD_GEN_TRC_ELEM_I_RANGE_NOPATH
@ OCSD_GEN_TRC_ELEM_TRACE_ON
enum _ocsd_instr_subtype ocsd_instr_subtype
enum _ocsd_instr_type ocsd_instr_type
enum _ocsd_isa ocsd_isa
uint64_t ocsd_vaddr_t
OpenCSD : Standard Types used in the library interfaces.
trace_marker_payload_t sync_marker
ocsd_instr_subtype last_i_subtype
trace_on_reason_t trace_on_reason
ocsd_gen_trc_elem_t elem_type
trace_sync_marker_t type