summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/stm_only
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/tests/snapshots/stm_only')
-rw-r--r--decoder/tests/snapshots/stm_only/cstraceitm.binbin0 -> 32768 bytes
-rw-r--r--decoder/tests/snapshots/stm_only/device_0.ini7
-rw-r--r--decoder/tests/snapshots/stm_only/snapshot.ini8
-rw-r--r--decoder/tests/snapshots/stm_only/trace.ini12
4 files changed, 27 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/stm_only/cstraceitm.bin b/decoder/tests/snapshots/stm_only/cstraceitm.bin
new file mode 100644
index 0000000..f2211ed
--- /dev/null
+++ b/decoder/tests/snapshots/stm_only/cstraceitm.bin
Binary files differ
diff --git a/decoder/tests/snapshots/stm_only/device_0.ini b/decoder/tests/snapshots/stm_only/device_0.ini
new file mode 100644
index 0000000..16c95f4
--- /dev/null
+++ b/decoder/tests/snapshots/stm_only/device_0.ini
@@ -0,0 +1,7 @@
+[device]
+name=STM_0
+class=trace_source
+type=STM
+
+[regs]
+STMTCSR(0x3A0)=0x00A00007
diff --git a/decoder/tests/snapshots/stm_only/snapshot.ini b/decoder/tests/snapshots/stm_only/snapshot.ini
new file mode 100644
index 0000000..d9e8057
--- /dev/null
+++ b/decoder/tests/snapshots/stm_only/snapshot.ini
@@ -0,0 +1,8 @@
+[snapshot]
+version=1.0
+
+[device_list]
+device0=device_0.ini
+
+[trace]
+metadata=trace.ini
diff --git a/decoder/tests/snapshots/stm_only/trace.ini b/decoder/tests/snapshots/stm_only/trace.ini
new file mode 100644
index 0000000..ed3cf4d
--- /dev/null
+++ b/decoder/tests/snapshots/stm_only/trace.ini
@@ -0,0 +1,12 @@
+[trace_buffers]
+buffers=buffer1
+
+[buffer1]
+name=ETB_1
+file=cstraceitm.bin
+format=coresight
+
+[source_buffers]
+STM_0=ETB_1
+
+[core_trace_sources]