summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/Snowball
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 0000000..04e8cf7
--- /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 0000000..9bdd219
--- /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 0000000..f828a68
--- /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 0000000..289d929
--- /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 0000000..dfa0e92
--- /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 0000000..3f0e26e
--- /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 0000000..370c950
--- /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 0000000..c00356a
--- /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
+