-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing: add generated enum of events
- Loading branch information
Showing
1 changed file
with
378 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,378 @@ | ||
# Enumeration of AIE2 trace events | ||
# Automatically generated from utils/generate_events_enum.py | ||
|
||
from enum import Enum | ||
|
||
|
||
class CoreEvent(Enum): | ||
NONE = 0 | ||
TRUE = 1 | ||
GROUP_0 = 2 | ||
TIMER_SYNC = 3 | ||
TIMER_VALUE_REACHED = 4 | ||
PERF_CNT_0 = 5 | ||
PERF_CNT_1 = 6 | ||
PERF_CNT_2 = 7 | ||
PERF_CNT_3 = 8 | ||
COMBO_EVENT_0 = 9 | ||
COMBO_EVENT_1 = 10 | ||
COMBO_EVENT_2 = 11 | ||
COMBO_EVENT_3 = 12 | ||
GROUP_PC_EVENT = 15 | ||
PC_0 = 16 | ||
PC_1 = 17 | ||
PC_2 = 18 | ||
PC_3 = 19 | ||
PC_RANGE_0_1 = 20 | ||
PC_RANGE_2_3 = 21 | ||
GROUP_STALL = 22 | ||
MEMORY_STALL = 23 | ||
STREAM_STALL = 24 | ||
CASCADE_STALL = 25 | ||
LOCK_STALL = 26 | ||
DEBUG_HALTED = 27 | ||
ACTIVE = 28 | ||
DISABLED = 29 | ||
ECC_ERROR_STALL = 30 | ||
ECC_SCRUBBING_STALL = 31 | ||
GROUP_PROGRAM_FLOW = 32 | ||
INSTR_EVENT_0 = 33 | ||
INSTR_EVENT_1 = 34 | ||
INSTR_CALL = 35 | ||
INSTR_RETURN = 36 | ||
INSTR_VECTOR = 37 | ||
INSTR_LOAD = 38 | ||
INSTR_STORE = 39 | ||
INSTR_STREAM_GET = 40 | ||
INSTR_STREAM_PUT = 41 | ||
INSTR_CASCADE_GET = 42 | ||
INSTR_CASCADE_PUT = 43 | ||
INSTR_LOCK_ACQUIRE_REQ = 44 | ||
INSTR_LOCK_RELEASE_REQ = 45 | ||
GROUP_ERRORS_0 = 46 | ||
GROUP_ERRORS_1 = 47 | ||
SRS_SATURATE = 48 | ||
UPS_SATURATE = 49 | ||
FP_OVERFLOW = 50 | ||
FP_UNDERFLOW = 51 | ||
FP_INVALID = 52 | ||
FP_DIV_BY_ZERO = 53 | ||
TLAST_IN_WSS_WORDS_0_2 = 54 | ||
PM_REG_ACCESS_FAILURE = 55 | ||
STREAM_PKT_PARITY_ERROR = 56 | ||
CONTROL_PKT_ERROR = 57 | ||
AXI_MM_SLAVE_ERROR = 58 | ||
INSTR_DECOMPRSN_ERROR = 59 | ||
DM_ADDRESS_OUT_OF_RANGE = 60 | ||
PM_ECC_ERROR_SCRUB_CORRECTED = 61 | ||
PM_ECC_ERROR_SCRUB_2BIT = 62 | ||
PM_ECC_ERROR_1BIT = 63 | ||
PM_ECC_ERROR_2BIT = 64 | ||
PM_ADDRESS_OUT_OF_RANGE = 65 | ||
DM_ACCESS_TO_UNAVAILABLE = 66 | ||
LOCK_ACCESS_TO_UNAVAILABLE = 67 | ||
INSTR_EVENT_2 = 68 | ||
INSTR_EVENT_3 = 69 | ||
GROUP_STREAM_SWITCH = 73 | ||
PORT_IDLE_0 = 74 | ||
PORT_RUNNING_0 = 75 | ||
PORT_STALLED_0 = 76 | ||
PORT_TLAST_0 = 77 | ||
PORT_IDLE_1 = 78 | ||
PORT_RUNNING_1 = 79 | ||
PORT_STALLED_1 = 80 | ||
PORT_TLAST_1 = 81 | ||
PORT_IDLE_2 = 82 | ||
PORT_RUNNING_2 = 83 | ||
PORT_STALLED_2 = 84 | ||
PORT_TLAST_2 = 85 | ||
PORT_IDLE_3 = 86 | ||
PORT_RUNNING_3 = 87 | ||
PORT_STALLED_3 = 88 | ||
PORT_TLAST_3 = 89 | ||
PORT_IDLE_4 = 90 | ||
PORT_RUNNING_4 = 91 | ||
PORT_STALLED_4 = 92 | ||
PORT_TLAST_4 = 93 | ||
PORT_IDLE_5 = 94 | ||
PORT_RUNNING_5 = 95 | ||
PORT_STALLED_5 = 96 | ||
PORT_TLAST_5 = 97 | ||
PORT_IDLE_6 = 98 | ||
PORT_RUNNING_6 = 99 | ||
PORT_STALLED_6 = 100 | ||
PORT_TLAST_6 = 101 | ||
PORT_IDLE_7 = 102 | ||
PORT_RUNNING_7 = 103 | ||
PORT_STALLED_7 = 104 | ||
PORT_TLAST_7 = 105 | ||
GROUP_BROADCAST = 106 | ||
BROADCAST_0 = 107 | ||
BROADCAST_1 = 108 | ||
BROADCAST_2 = 109 | ||
BROADCAST_3 = 110 | ||
BROADCAST_4 = 111 | ||
BROADCAST_5 = 112 | ||
BROADCAST_6 = 113 | ||
BROADCAST_7 = 114 | ||
BROADCAST_8 = 115 | ||
BROADCAST_9 = 116 | ||
BROADCAST_10 = 117 | ||
BROADCAST_11 = 118 | ||
BROADCAST_12 = 119 | ||
BROADCAST_13 = 120 | ||
BROADCAST_14 = 121 | ||
BROADCAST_15 = 122 | ||
GROUP_USER_EVENT = 123 | ||
USER_EVENT_0 = 124 | ||
USER_EVENT_1 = 125 | ||
USER_EVENT_2 = 126 | ||
USER_EVENT_3 = 127 | ||
|
||
|
||
class MemEvent(Enum): | ||
NONE = 0 | ||
TRUE = 1 | ||
GROUP_0 = 2 | ||
TIMER_SYNC = 3 | ||
TIMER_VALUE_REACHED = 4 | ||
PERF_CNT_0 = 5 | ||
PERF_CNT_1 = 6 | ||
COMBO_EVENT_0 = 7 | ||
COMBO_EVENT_1 = 8 | ||
COMBO_EVENT_2 = 9 | ||
COMBO_EVENT_3 = 10 | ||
GROUP_WATCHPOINT = 15 | ||
WATCHPOINT_0 = 16 | ||
WATCHPOINT_1 = 17 | ||
GROUP_DMA_ACTIVITY = 20 | ||
DMA_S2MM_0_START_BD = 21 | ||
DMA_S2MM_1_START_BD = 22 | ||
DMA_MM2S_0_START_BD = 23 | ||
DMA_MM2S_1_START_BD = 24 | ||
DMA_S2MM_0_FINISHED_BD = 25 | ||
DMA_S2MM_1_FINISHED_BD = 26 | ||
DMA_MM2S_0_FINISHED_BD = 27 | ||
DMA_MM2S_1_FINISHED_BD = 28 | ||
DMA_S2MM_0_GO_TO_IDLE = 29 | ||
DMA_S2MM_1_GO_TO_IDLE = 30 | ||
DMA_MM2S_0_GO_TO_IDLE = 31 | ||
DMA_MM2S_1_GO_TO_IDLE = 32 | ||
DMA_S2MM_0_STALLED_LOCK_ACQUIRE = 33 | ||
DMA_S2MM_1_STALLED_LOCK_ACQUIRE = 34 | ||
DMA_MM2S_0_STALLED_LOCK_ACQUIRE = 35 | ||
DMA_MM2S_1_STALLED_LOCK_ACQUIRE = 36 | ||
DMA_S2MM_0_MEMORY_CONFLICT = 37 | ||
DMA_S2MM_1_MEMORY_CONFLICT = 38 | ||
DMA_MM2S_0_MEMORY_CONFLICT = 39 | ||
DMA_MM2S_1_MEMORY_CONFLICT = 40 | ||
GROUP_LOCK = 43 | ||
LOCK_0_ACQ = 44 | ||
LOCK_0_REL = 45 | ||
LOCK_1_ACQ = 46 | ||
LOCK_1_REL = 47 | ||
LOCK_2_ACQ = 48 | ||
LOCK_2_REL = 49 | ||
LOCK_3_ACQ = 50 | ||
LOCK_3_REL = 51 | ||
LOCK_4_ACQ = 52 | ||
LOCK_4_REL = 53 | ||
LOCK_5_ACQ = 54 | ||
LOCK_5_REL = 55 | ||
LOCK_6_ACQ = 56 | ||
LOCK_6_REL = 57 | ||
LOCK_7_ACQ = 58 | ||
LOCK_7_REL = 59 | ||
LOCK_8_ACQ = 60 | ||
LOCK_8_REL = 61 | ||
LOCK_9_ACQ = 62 | ||
LOCK_9_REL = 63 | ||
LOCK_10_ACQ = 64 | ||
LOCK_10_REL = 65 | ||
LOCK_11_ACQ = 66 | ||
LOCK_11_REL = 67 | ||
LOCK_12_ACQ = 68 | ||
LOCK_12_REL = 69 | ||
LOCK_13_ACQ = 70 | ||
LOCK_13_REL = 71 | ||
LOCK_14_ACQ = 72 | ||
LOCK_14_REL = 73 | ||
LOCK_15_ACQ = 74 | ||
LOCK_15_REL = 75 | ||
GROUP_MEMORY_CONFLICT = 76 | ||
CONFLICT_DM_BANK_0 = 77 | ||
CONFLICT_DM_BANK_1 = 78 | ||
CONFLICT_DM_BANK_2 = 79 | ||
CONFLICT_DM_BANK_3 = 80 | ||
CONFLICT_DM_BANK_4 = 81 | ||
CONFLICT_DM_BANK_5 = 82 | ||
CONFLICT_DM_BANK_6 = 83 | ||
CONFLICT_DM_BANK_7 = 84 | ||
GROUP_ERRORS = 86 | ||
DM_ECC_ERROR_SCRUB_CORRECTED = 87 | ||
DM_ECC_ERROR_SCRUB_2BIT = 88 | ||
DM_ECC_ERROR_1BIT = 89 | ||
DM_ECC_ERROR_2BIT = 90 | ||
DM_PARITY_ERROR_BANK_2 = 91 | ||
DM_PARITY_ERROR_BANK_3 = 92 | ||
DM_PARITY_ERROR_BANK_4 = 93 | ||
DM_PARITY_ERROR_BANK_5 = 94 | ||
DM_PARITY_ERROR_BANK_6 = 95 | ||
DM_PARITY_ERROR_BANK_7 = 96 | ||
DMA_S2MM_0_ERROR = 97 | ||
DMA_S2MM_1_ERROR = 98 | ||
DMA_MM2S_0_ERROR = 99 | ||
DMA_MM2S_1_ERROR = 100 | ||
GROUP_BROADCAST = 106 | ||
BROADCAST_0 = 107 | ||
BROADCAST_1 = 108 | ||
BROADCAST_2 = 109 | ||
BROADCAST_3 = 110 | ||
BROADCAST_4 = 111 | ||
BROADCAST_5 = 112 | ||
BROADCAST_6 = 113 | ||
BROADCAST_7 = 114 | ||
BROADCAST_8 = 115 | ||
BROADCAST_9 = 116 | ||
BROADCAST_10 = 117 | ||
BROADCAST_11 = 118 | ||
BROADCAST_12 = 119 | ||
BROADCAST_13 = 120 | ||
BROADCAST_14 = 121 | ||
BROADCAST_15 = 122 | ||
GROUP_USER_EVENT = 123 | ||
USER_EVENT_0 = 124 | ||
USER_EVENT_1 = 125 | ||
USER_EVENT_2 = 126 | ||
USER_EVENT_3 = 127 | ||
|
||
|
||
class PLEvent(Enum): | ||
NONE = 0 | ||
TRUE = 1 | ||
GROUP_0 = 2 | ||
TIMER_SYNC = 3 | ||
TIMER_VALUE_REACHED = 4 | ||
PERF_CNT_0 = 5 | ||
PERF_CNT_1 = 6 | ||
COMBO_EVENT_0 = 7 | ||
COMBO_EVENT_1 = 8 | ||
COMBO_EVENT_2 = 9 | ||
COMBO_EVENT_3 = 10 | ||
GROUP_DMA_ACTIVITY = 11 | ||
DMA_S2MM_0_START_BD = 12 | ||
DMA_S2MM_1_START_BD = 13 | ||
DMA_MM2S_0_START_BD = 14 | ||
DMA_MM2S_1_START_BD = 15 | ||
DMA_S2MM_0_FINISHED_BD = 16 | ||
DMA_S2MM_1_FINISHED_BD = 17 | ||
DMA_MM2S_0_FINISHED_BD = 18 | ||
DMA_MM2S_1_FINISHED_BD = 19 | ||
DMA_S2MM_0_GO_TO_IDLE = 20 | ||
DMA_S2MM_1_GO_TO_IDLE = 21 | ||
DMA_MM2S_0_GO_TO_IDLE = 22 | ||
DMA_MM2S_1_GO_TO_IDLE = 23 | ||
DMA_S2MM_0_STALLED_LOCK_ACQUIRE = 24 | ||
DMA_S2MM_1_STALLED_LOCK_ACQUIRE = 25 | ||
DMA_MM2S_0_STALLED_LOCK_ACQUIRE = 26 | ||
DMA_MM2S_1_STALLED_LOCK_ACQUIRE = 27 | ||
GROUP_LOCK = 28 | ||
LOCK_0_ACQUIRED = 29 | ||
LOCK_0_RELEASED = 30 | ||
LOCK_1_ACQUIRED = 31 | ||
LOCK_1_RELEASED = 32 | ||
LOCK_2_ACQUIRED = 33 | ||
LOCK_2_RELEASED = 34 | ||
LOCK_3_ACQUIRED = 35 | ||
LOCK_3_RELEASED = 36 | ||
LOCK_4_ACQUIRED = 37 | ||
LOCK_4_RELEASED = 38 | ||
LOCK_5_ACQUIRED = 39 | ||
LOCK_5_RELEASED = 40 | ||
LOCK_6_ACQUIRED = 41 | ||
LOCK_6_RELEASED = 42 | ||
LOCK_7_ACQUIRED = 43 | ||
LOCK_7_RELEASED = 44 | ||
LOCK_8_ACQUIRED = 45 | ||
LOCK_8_RELEASED = 46 | ||
LOCK_9_ACQUIRED = 47 | ||
LOCK_9_RELEASED = 48 | ||
LOCK_10_ACQUIRED = 49 | ||
LOCK_10_RELEASED = 50 | ||
LOCK_11_ACQUIRED = 51 | ||
LOCK_11_RELEASED = 52 | ||
LOCK_12_ACQUIRED = 53 | ||
LOCK_12_RELEASED = 54 | ||
LOCK_13_ACQUIRED = 55 | ||
LOCK_13_RELEASED = 56 | ||
LOCK_14_ACQUIRED = 57 | ||
LOCK_14_RELEASED = 58 | ||
LOCK_15_ACQUIRED = 59 | ||
LOCK_15_RELEASED = 60 | ||
GROUP_ERRORS = 61 | ||
AXI_MM_SLAVE_TILE_ERROR = 62 | ||
CONTROL_PKT_ERROR = 63 | ||
AXI_MM_DECODE_NSU_ERROR = 64 | ||
AXI_MM_SLAVE_NSU_ERROR = 65 | ||
AXI_MM_UNSUPPORTED_TRAFFIC = 66 | ||
AXI_MM_UNSECURE_ACCESS_IN_SECURE_MODE = 67 | ||
AXI_MM_BYTE_STROBE_ERROR = 68 | ||
DMA_S2MM_0_ERROR = 69 | ||
DMA_S2MM_1_ERROR = 70 | ||
DMA_MM2S_0_ERROR = 71 | ||
DMA_MM2S_1_ERROR = 72 | ||
GROUP_STREAM_SWITCH = 73 | ||
PORT_IDLE_0 = 74 | ||
PORT_RUNNING_0 = 75 | ||
PORT_STALLED_0 = 76 | ||
PORT_TLAST_0 = 77 | ||
PORT_IDLE_1 = 78 | ||
PORT_RUNNING_1 = 79 | ||
PORT_STALLED_1 = 80 | ||
PORT_TLAST_1 = 81 | ||
PORT_IDLE_2 = 82 | ||
PORT_RUNNING_2 = 83 | ||
PORT_STALLED_2 = 84 | ||
PORT_TLAST_2 = 85 | ||
PORT_IDLE_3 = 86 | ||
PORT_RUNNING_3 = 87 | ||
PORT_STALLED_3 = 88 | ||
PORT_TLAST_3 = 89 | ||
PORT_IDLE_4 = 90 | ||
PORT_RUNNING_4 = 91 | ||
PORT_STALLED_4 = 92 | ||
PORT_TLAST_4 = 93 | ||
PORT_IDLE_5 = 94 | ||
PORT_RUNNING_5 = 95 | ||
PORT_STALLED_5 = 96 | ||
PORT_TLAST_5 = 97 | ||
PORT_IDLE_6 = 98 | ||
PORT_RUNNING_6 = 99 | ||
PORT_STALLED_6 = 100 | ||
PORT_TLAST_6 = 101 | ||
PORT_IDLE_7 = 102 | ||
PORT_RUNNING_7 = 103 | ||
PORT_STALLED_7 = 104 | ||
PORT_TLAST_7 = 105 | ||
GROUP_BROADCAST_A = 106 | ||
BROADCAST_A_0 = 107 | ||
BROADCAST_A_1 = 108 | ||
BROADCAST_A_2 = 109 | ||
BROADCAST_A_3 = 110 | ||
BROADCAST_A_4 = 111 | ||
BROADCAST_A_5 = 112 | ||
BROADCAST_A_6 = 113 | ||
BROADCAST_A_7 = 114 | ||
BROADCAST_A_8 = 115 | ||
BROADCAST_A_9 = 116 | ||
BROADCAST_A_10 = 117 | ||
BROADCAST_A_11 = 118 | ||
BROADCAST_A_12 = 119 | ||
BROADCAST_A_13 = 120 | ||
BROADCAST_A_14 = 121 | ||
BROADCAST_A_15 = 122 | ||
GROUP_USER_EVENT = 123 | ||
USER_EVENT_0 = 124 | ||
USER_EVENT_1 = 125 | ||
USER_EVENT_2 = 126 | ||
USER_EVENT_3 = 127 |