aboutsummaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/stm_only
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2020-06-15 11:30:04 +0000
committerAndrew Turner <andrew@FreeBSD.org>2020-06-15 11:30:04 +0000
commitd7aa8d0a1f110421252d79f5acfb72d89187ad1f (patch)
tree8b0efac880d3949a9d25ab9bb34792eac605eee6 /decoder/tests/snapshots/stm_only
parentcf98ba14dc260458f757fa46419575cf69f45a44 (diff)
downloadsrc-vendor/opencsd.tar.gz
src-vendor/opencsd.zip
Sponsored by: Innovate UK
Notes
Notes: svn path=/vendor/opencsd/dist/; revision=362193 svn path=/vendor/opencsd/v0.14.2/; revision=362194; tag=vendor/opencsd/v0.14.2
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 000000000000..f2211ed63677
--- /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 000000000000..16c95f4ef047
--- /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 000000000000..d9e80577de9b
--- /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 000000000000..ed3cf4d19c3b
--- /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]