summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/stm-issue-27
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/tests/snapshots/stm-issue-27')
-rw-r--r--decoder/tests/snapshots/stm-issue-27/device_0.ini7
-rw-r--r--decoder/tests/snapshots/stm-issue-27/snapshot.ini8
-rw-r--r--decoder/tests/snapshots/stm-issue-27/stuck_trace.binbin0 -> 768 bytes
-rw-r--r--decoder/tests/snapshots/stm-issue-27/trace.ini12
4 files changed, 27 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/stm-issue-27/device_0.ini b/decoder/tests/snapshots/stm-issue-27/device_0.ini
new file mode 100644
index 0000000..d875f16
--- /dev/null
+++ b/decoder/tests/snapshots/stm-issue-27/device_0.ini
@@ -0,0 +1,7 @@
+[device]
+name=STM_0
+class=trace_source
+type=STM
+
+[regs]
+STMTCSR(0x3A0)=0x00100007
diff --git a/decoder/tests/snapshots/stm-issue-27/snapshot.ini b/decoder/tests/snapshots/stm-issue-27/snapshot.ini
new file mode 100644
index 0000000..d9e8057
--- /dev/null
+++ b/decoder/tests/snapshots/stm-issue-27/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-issue-27/stuck_trace.bin b/decoder/tests/snapshots/stm-issue-27/stuck_trace.bin
new file mode 100644
index 0000000..23d4e2c
--- /dev/null
+++ b/decoder/tests/snapshots/stm-issue-27/stuck_trace.bin
Binary files differ
diff --git a/decoder/tests/snapshots/stm-issue-27/trace.ini b/decoder/tests/snapshots/stm-issue-27/trace.ini
new file mode 100644
index 0000000..bf77ffc
--- /dev/null
+++ b/decoder/tests/snapshots/stm-issue-27/trace.ini
@@ -0,0 +1,12 @@
+[trace_buffers]
+buffers=buffer1
+
+[buffer1]
+name=ETB_0
+file=stuck_trace.bin
+format=coresight
+
+[source_buffers]
+STM_0=ETB_0
+
+[core_trace_sources]