aboutsummaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/Snowball
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/Snowball
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/Snowball')
-rw-r--r--decoder/tests/snapshots/Snowball/cpu_0.ini15
-rw-r--r--decoder/tests/snapshots/Snowball/cpu_1.ini15
-rw-r--r--decoder/tests/snapshots/Snowball/cstrace.binbin0 -> 8192 bytes
-rw-r--r--decoder/tests/snapshots/Snowball/device_2.ini10
-rw-r--r--decoder/tests/snapshots/Snowball/device_3.ini10
-rw-r--r--decoder/tests/snapshots/Snowball/kernel_dump.binbin0 -> 327680 bytes
-rw-r--r--decoder/tests/snapshots/Snowball/snapshot.ini11
-rw-r--r--decoder/tests/snapshots/Snowball/trace.ini16
8 files changed, 77 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/Snowball/cpu_0.ini b/decoder/tests/snapshots/Snowball/cpu_0.ini
new file mode 100644
index 000000000000..04e8cf7bde2d
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/cpu_0.ini
@@ -0,0 +1,15 @@
+[device]
+name=cpu_0
+class=core
+type=Cortex-A9
+
+[regs]
+R15=0xC0008000
+R13=0
+CPSR=0x1D3
+
+[dump]
+file=kernel_dump.bin
+address=0xC0008000
+length=0x00050000
+
diff --git a/decoder/tests/snapshots/Snowball/cpu_1.ini b/decoder/tests/snapshots/Snowball/cpu_1.ini
new file mode 100644
index 000000000000..9bdd21966449
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/cpu_1.ini
@@ -0,0 +1,15 @@
+[device]
+name=cpu_1
+class=core
+type=Cortex-A9
+
+[regs]
+R15=0xC0008000
+R13=0
+CPSR=0x1D3
+
+[dump]
+file=kernel_dump.bin
+address=0xC0008000
+length=0x00050000
+
diff --git a/decoder/tests/snapshots/Snowball/cstrace.bin b/decoder/tests/snapshots/Snowball/cstrace.bin
new file mode 100644
index 000000000000..f828a687be08
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/cstrace.bin
Binary files differ
diff --git a/decoder/tests/snapshots/Snowball/device_2.ini b/decoder/tests/snapshots/Snowball/device_2.ini
new file mode 100644
index 000000000000..289d9290eaf1
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/device_2.ini
@@ -0,0 +1,10 @@
+[device]
+name=PTM_0
+class=trace_source
+type=PTM1.0
+
+[regs]
+ETMCR(0x000)=0x10001000
+ETMIDR(0x079)=0x411CF301
+ETMCCER(0x07A)=0x000008EA
+ETMTRACEIDR(0x080)=0x00000010
diff --git a/decoder/tests/snapshots/Snowball/device_3.ini b/decoder/tests/snapshots/Snowball/device_3.ini
new file mode 100644
index 000000000000..dfa0e92334ea
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/device_3.ini
@@ -0,0 +1,10 @@
+[device]
+name=PTM_1
+class=trace_source
+type=PTM1.0
+
+[regs]
+ETMCR(0x000)=0x10001000
+ETMIDR(0x079)=0x411CF301
+ETMCCER(0x07A)=0x000008EA
+ETMTRACEIDR(0x080)=0x00000011
diff --git a/decoder/tests/snapshots/Snowball/kernel_dump.bin b/decoder/tests/snapshots/Snowball/kernel_dump.bin
new file mode 100644
index 000000000000..3f0e26eedb7c
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/kernel_dump.bin
Binary files differ
diff --git a/decoder/tests/snapshots/Snowball/snapshot.ini b/decoder/tests/snapshots/Snowball/snapshot.ini
new file mode 100644
index 000000000000..370c950cfc92
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/snapshot.ini
@@ -0,0 +1,11 @@
+[snapshot]
+version=1.0
+
+[device_list]
+device0=cpu_0.ini
+device1=cpu_1.ini
+device2=device_2.ini
+device3=device_3.ini
+
+[trace]
+metadata=trace.ini
diff --git a/decoder/tests/snapshots/Snowball/trace.ini b/decoder/tests/snapshots/Snowball/trace.ini
new file mode 100644
index 000000000000..c00356a46c9e
--- /dev/null
+++ b/decoder/tests/snapshots/Snowball/trace.ini
@@ -0,0 +1,16 @@
+[trace_buffers]
+buffers=buffer0
+
+[buffer0]
+name=ETB_0
+file=cstrace.bin
+format=coresight
+
+[source_buffers]
+PTM_0=ETB_0
+PTM_1=ETB_0
+
+[core_trace_sources]
+cpu_0=PTM_0
+cpu_1=PTM_1
+