summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots-ete/event_test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:57 +0000
commit070852d8604cece0c31f28ff3eb8d21d9ba415fb (patch)
tree9097175a6a5b8b7e37af9a96269ac0b61a0189cd /decoder/tests/snapshots-ete/event_test
parentInitial commit. (diff)
downloadlibopencsd-upstream.tar.xz
libopencsd-upstream.zip
Adding upstream version 1.3.3.upstream/1.3.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--decoder/tests/snapshots-ete/event_test/ETE_0_s1.ini15
-rw-r--r--decoder/tests/snapshots-ete/event_test/cpu_0.ini22
-rw-r--r--decoder/tests/snapshots-ete/event_test/session1.binbin0 -> 13 bytes
-rw-r--r--decoder/tests/snapshots-ete/event_test/snapshot.ini11
-rw-r--r--decoder/tests/snapshots-ete/event_test/trace.ini14
5 files changed, 62 insertions, 0 deletions
diff --git a/decoder/tests/snapshots-ete/event_test/ETE_0_s1.ini b/decoder/tests/snapshots-ete/event_test/ETE_0_s1.ini
new file mode 100644
index 0000000..7ab3d25
--- /dev/null
+++ b/decoder/tests/snapshots-ete/event_test/ETE_0_s1.ini
@@ -0,0 +1,15 @@
+[device]
+name=ETE_0_s1
+class=trace_source
+type=ETE
+
+
+[regs]
+TRCCONFIGR=0x0
+TRCTRACEIDR=0x1
+TRCDEVARCH=0x47705a13
+TRCIDR0=0x2801cea1
+TRCIDR1=0x4100fff0
+TRCIDR2=0xd0001088
+TRCIDR8=0x0
+
diff --git a/decoder/tests/snapshots-ete/event_test/cpu_0.ini b/decoder/tests/snapshots-ete/event_test/cpu_0.ini
new file mode 100644
index 0000000..bbb5f35
--- /dev/null
+++ b/decoder/tests/snapshots-ete/event_test/cpu_0.ini
@@ -0,0 +1,22 @@
+[device]
+name=cpu_0
+class=core
+type=Cortex-A53
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+
+[dump1]
+file=bindir_64/OTHERS_exec
+address=0x00010000
+length=0x67460
+
+[dump2]
+file=bindir_64/VAL_NON_DET_CODE_exec
+address=0x00090000
+length=0x18a5c
+
diff --git a/decoder/tests/snapshots-ete/event_test/session1.bin b/decoder/tests/snapshots-ete/event_test/session1.bin
new file mode 100644
index 0000000..9d70827
--- /dev/null
+++ b/decoder/tests/snapshots-ete/event_test/session1.bin
Binary files differ
diff --git a/decoder/tests/snapshots-ete/event_test/snapshot.ini b/decoder/tests/snapshots-ete/event_test/snapshot.ini
new file mode 100644
index 0000000..fae7cd1
--- /dev/null
+++ b/decoder/tests/snapshots-ete/event_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/event_test/trace.ini b/decoder/tests/snapshots-ete/event_test/trace.ini
new file mode 100644
index 0000000..68a318a
--- /dev/null
+++ b/decoder/tests/snapshots-ete/event_test/trace.ini
@@ -0,0 +1,14 @@
+[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
+