Skip to content

Commit 46703aa

Browse files
committed
Add armv8_1m_branches snapshot
Add snapshot that contains test data with Armv8.1-M branch instruction
1 parent 31b1128 commit 46703aa

File tree

9 files changed

+69
-8
lines changed

9 files changed

+69
-8
lines changed

decoder/source/trc_core_arch_map.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ static ap_map_elem_t ap_map_array[] =
6565
{ "Cortex-R5", { ARCH_V7, profile_CortexR } },
6666
{ "Cortex-R4", { ARCH_V7, profile_CortexR } },
6767
{ "Cortex-M33", { ARCH_V8, profile_CortexM } },
68+
{ "Cortex-M55", { ARCH_V8, profile_CortexM } },
6869
{ "Cortex-M23", { ARCH_V8, profile_CortexM } },
6970
{ "Cortex-M0", { ARCH_V7, profile_CortexM } },
7071
{ "Cortex-M0+", { ARCH_V7, profile_CortexM } },

decoder/tests/run_pkt_decode_tests.bash

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,25 @@ SNAPSHOT_DIR=./snapshots
5151
BIN_DIR=./bin/linux64/rel/
5252

5353
# directories for tests using full decode
54-
declare -a test_dirs_decode=( "juno-ret-stck"
54+
declare -a test_dirs_decode=(
55+
"Snowball"
56+
"TC2"
5557
"a57_single_step"
58+
"armv8_1m_branches"
5659
"bugfix-exact-match"
60+
"itm_only_csformat"
61+
"itm_only_raw"
62+
"juno-ret-stck"
5763
"juno-uname-001"
5864
"juno-uname-002"
5965
"juno_r1_1"
60-
"tc2-ptm-rstk-t32"
61-
"trace_cov_a15"
66+
"stm-issue-27"
6267
"stm_only"
6368
"stm_only-2"
6469
"stm_only-juno"
65-
"stm-issue-27"
66-
"TC2"
67-
"Snowball"
70+
"tc2-ptm-rstk-t32"
6871
"test-file-mem-offsets"
69-
"itm_only_raw"
70-
"itm_only_csformat"
72+
"trace_cov_a15"
7173
)
7274

7375

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[device]
2+
name=cpu_0
3+
class=core
4+
type=Cortex-M55
5+
6+
[regs]
7+
PC(size:32)=0x4F9A02
8+
SP(size:32)=0
9+
SCTLR_EL1=0x1007
10+
CPSR=0x1C5
11+
12+
[dump.text1]
13+
file=range1.bin
14+
address=0x1E008
15+
16+
[dump.text2]
17+
file=range2.bin
18+
address=0x4F9A02
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[device]
2+
name=etm_0
3+
class=trace_source
4+
type=ETM4
5+
6+
[regs]
7+
TRCCONFIGR(0x004)=0x00000001
8+
TRCTRACEIDR(0x010)=0x00000000
9+
TRCAUTHSTATUS(0x3EE)=0x000000CC
10+
TRCIDR0(0x078)=0x280006E1
11+
TRCIDR1(0x079)=0x4100F454
12+
TRCIDR2(0x07A)=0x00000004
13+
TRCIDR8(0x060)=0x00000000
14+
TRCIDR9(0x061)=0x00000000
15+
TRCIDR10(0x062)=0x00000000
16+
TRCIDR11(0x063)=0x00000000
17+
TRCIDR12(0x064)=0x00000001
18+
TRCIDR13(0x065)=0x00000000
436 Bytes
Binary file not shown.
2.71 KB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[snapshot]
2+
version=1.0
3+
4+
[device_list]
5+
device0=cpu_0.ini
6+
device1=etm_0.ini
7+
8+
[trace]
9+
metadata=trace.ini
33 Bytes
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[trace_buffers]
2+
buffers=buffer0
3+
4+
[buffer0]
5+
name=etr_0
6+
file=trace.bin
7+
format=source_data
8+
9+
[source_buffers]
10+
etm_0=etr_0
11+
12+
[core_trace_sources]
13+
cpu_0=etm_0

0 commit comments

Comments
 (0)