summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots-ete/tme_test
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/tests/snapshots-ete/tme_test')
-rw-r--r--decoder/tests/snapshots-ete/tme_test/ETE_0_s1.ini15
-rw-r--r--decoder/tests/snapshots-ete/tme_test/bindir_64/OTHERS_execbin0 -> 372416 bytes
-rw-r--r--decoder/tests/snapshots-ete/tme_test/bindir_64/VAL_NON_DET_CODE_execbin0 -> 106880 bytes
-rw-r--r--decoder/tests/snapshots-ete/tme_test/cpu_0.ini22
-rw-r--r--decoder/tests/snapshots-ete/tme_test/session1.binbin0 -> 14467 bytes
-rw-r--r--decoder/tests/snapshots-ete/tme_test/snapshot.ini11
-rw-r--r--decoder/tests/snapshots-ete/tme_test/trace.ini15
7 files changed, 63 insertions, 0 deletions
diff --git a/decoder/tests/snapshots-ete/tme_test/ETE_0_s1.ini b/decoder/tests/snapshots-ete/tme_test/ETE_0_s1.ini
new file mode 100644
index 0000000..dc70aad
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/ETE_0_s1.ini
@@ -0,0 +1,15 @@
+[device]
+name=ETE_0_s1
+class=trace_source
+type=ETE
+
+
+[regs]
+TRCCONFIGR=0x1
+TRCTRACEIDR=0x2
+TRCDEVARCH=0x47705a13
+TRCIDR0=0x4801cea1
+TRCIDR1=0x4100fff0
+TRCIDR2=0xd0001088
+TRCIDR8=0x0
+
diff --git a/decoder/tests/snapshots-ete/tme_test/bindir_64/OTHERS_exec b/decoder/tests/snapshots-ete/tme_test/bindir_64/OTHERS_exec
new file mode 100644
index 0000000..ce62dcb
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/bindir_64/OTHERS_exec
Binary files differ
diff --git a/decoder/tests/snapshots-ete/tme_test/bindir_64/VAL_NON_DET_CODE_exec b/decoder/tests/snapshots-ete/tme_test/bindir_64/VAL_NON_DET_CODE_exec
new file mode 100644
index 0000000..2da92ce
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/bindir_64/VAL_NON_DET_CODE_exec
Binary files differ
diff --git a/decoder/tests/snapshots-ete/tme_test/cpu_0.ini b/decoder/tests/snapshots-ete/tme_test/cpu_0.ini
new file mode 100644
index 0000000..d8ca0c7
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/cpu_0.ini
@@ -0,0 +1,22 @@
+[device]
+name=cpu_0
+class=core
+type=ARM-AA64
+
+[regs]
+PC(size:64)=0x0
+SP(size:64)=0
+SCTLR_EL1=0x0
+CPSR=0x0
+
+
+[dump1]
+file=bindir_64/OTHERS_exec
+address=0x00060000
+length=0x5aec0
+
+[dump2]
+file=bindir_64/VAL_NON_DET_CODE_exec
+address=0x00010000
+length=0x1a180
+
diff --git a/decoder/tests/snapshots-ete/tme_test/session1.bin b/decoder/tests/snapshots-ete/tme_test/session1.bin
new file mode 100644
index 0000000..b784e47
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/session1.bin
Binary files differ
diff --git a/decoder/tests/snapshots-ete/tme_test/snapshot.ini b/decoder/tests/snapshots-ete/tme_test/snapshot.ini
new file mode 100644
index 0000000..fae7cd1
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/snapshot.ini
@@ -0,0 +1,11 @@
+[snapshot]
+version=1.0
+description=checker_metadata.ini
+
+[device_list]
+device0=cpu_0.ini
+device1=ETE_0_s1.ini
+
+[trace]
+metadata=trace.ini
+
diff --git a/decoder/tests/snapshots-ete/tme_test/trace.ini b/decoder/tests/snapshots-ete/tme_test/trace.ini
new file mode 100644
index 0000000..7e95dab
--- /dev/null
+++ b/decoder/tests/snapshots-ete/tme_test/trace.ini
@@ -0,0 +1,15 @@
+[trace_buffers]
+buffers=buffer1
+
+[buffer1]
+name=ETB_1
+file=session1.bin
+format=source_data
+
+
+[source_buffers]
+ETE_0_s1=ETB_1
+
+[core_trace_sources]
+cpu_0=ETE_0_s1
+