summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/bugfix-exact-match
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:57 +0000
commit070852d8604cece0c31f28ff3eb8d21d9ba415fb (patch)
tree9097175a6a5b8b7e37af9a96269ac0b61a0189cd /decoder/tests/snapshots/bugfix-exact-match
parentInitial commit. (diff)
downloadlibopencsd-upstream.tar.xz
libopencsd-upstream.zip
Adding upstream version 1.3.3.upstream/1.3.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'decoder/tests/snapshots/bugfix-exact-match')
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cc1.fini_dump.binbin0 -> 16 bytes
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cc1.init_dump.binbin0 -> 20 bytes
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cc1.text_dump.binbin0 -> 1894336 bytes
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cc1__libc_freeres_fn_dump.binbin0 -> 3152 bytes
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cc1__libc_thread_freeres_fn_dump.binbin0 -> 240 bytes
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cpu_0.ini30
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cpu_1.ini30
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cpu_2.ini30
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cpu_3.ini30
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cpu_4.ini30
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cpu_5.ini30
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/cstrace.binbin0 -> 1048576 bytes
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/etm_0.ini18
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/etm_1.ini18
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/etm_2.ini18
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/etm_3.ini18
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/etm_4.ini18
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/etm_5.ini18
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/snapshot.ini23
-rw-r--r--decoder/tests/snapshots/bugfix-exact-match/trace.ini23
20 files changed, 334 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cc1.fini_dump.bin b/decoder/tests/snapshots/bugfix-exact-match/cc1.fini_dump.bin
new file mode 100644
index 0000000..f70774e
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cc1.fini_dump.bin
Binary files differ
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cc1.init_dump.bin b/decoder/tests/snapshots/bugfix-exact-match/cc1.init_dump.bin
new file mode 100644
index 0000000..47d5581
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cc1.init_dump.bin
Binary files differ
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cc1.text_dump.bin b/decoder/tests/snapshots/bugfix-exact-match/cc1.text_dump.bin
new file mode 100644
index 0000000..1fbd33a
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cc1.text_dump.bin
Binary files differ
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cc1__libc_freeres_fn_dump.bin b/decoder/tests/snapshots/bugfix-exact-match/cc1__libc_freeres_fn_dump.bin
new file mode 100644
index 0000000..a2a86d2
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cc1__libc_freeres_fn_dump.bin
Binary files differ
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cc1__libc_thread_freeres_fn_dump.bin b/decoder/tests/snapshots/bugfix-exact-match/cc1__libc_thread_freeres_fn_dump.bin
new file mode 100644
index 0000000..e102365
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cc1__libc_thread_freeres_fn_dump.bin
Binary files differ
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cpu_0.ini b/decoder/tests/snapshots/bugfix-exact-match/cpu_0.ini
new file mode 100644
index 0000000..87cc3c2
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cpu_0.ini
@@ -0,0 +1,30 @@
+[device]
+name=cpu_0
+class=core
+type=Cortex-A53
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump.init]
+file=cc1.init_dump.bin
+address=0x00000000004001D8
+
+[dump.text]
+file=cc1.text_dump.bin
+address=0x0000000000400200
+
+[dump__libc_freeres_fn]
+file=cc1__libc_freeres_fn_dump.bin
+address=0x00000000005CE9C0
+
+[dump__libc_thread_freeres_fn]
+file=cc1__libc_thread_freeres_fn_dump.bin
+address=0x00000000005CF610
+
+[dump.fini]
+file=cc1.fini_dump.bin
+address=0x00000000005CF700
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cpu_1.ini b/decoder/tests/snapshots/bugfix-exact-match/cpu_1.ini
new file mode 100644
index 0000000..a02c3a0
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cpu_1.ini
@@ -0,0 +1,30 @@
+[device]
+name=cpu_1
+class=core
+type=Cortex-A72
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump.init]
+file=cc1.init_dump.bin
+address=0x00000000004001D8
+
+[dump.text]
+file=cc1.text_dump.bin
+address=0x0000000000400200
+
+[dump__libc_freeres_fn]
+file=cc1__libc_freeres_fn_dump.bin
+address=0x00000000005CE9C0
+
+[dump__libc_thread_freeres_fn]
+file=cc1__libc_thread_freeres_fn_dump.bin
+address=0x00000000005CF610
+
+[dump.fini]
+file=cc1.fini_dump.bin
+address=0x00000000005CF700
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cpu_2.ini b/decoder/tests/snapshots/bugfix-exact-match/cpu_2.ini
new file mode 100644
index 0000000..4f7b1b4
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cpu_2.ini
@@ -0,0 +1,30 @@
+[device]
+name=cpu_2
+class=core
+type=Cortex-A72
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump.init]
+file=cc1.init_dump.bin
+address=0x00000000004001D8
+
+[dump.text]
+file=cc1.text_dump.bin
+address=0x0000000000400200
+
+[dump__libc_freeres_fn]
+file=cc1__libc_freeres_fn_dump.bin
+address=0x00000000005CE9C0
+
+[dump__libc_thread_freeres_fn]
+file=cc1__libc_thread_freeres_fn_dump.bin
+address=0x00000000005CF610
+
+[dump.fini]
+file=cc1.fini_dump.bin
+address=0x00000000005CF700
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cpu_3.ini b/decoder/tests/snapshots/bugfix-exact-match/cpu_3.ini
new file mode 100644
index 0000000..ae75409
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cpu_3.ini
@@ -0,0 +1,30 @@
+[device]
+name=cpu_3
+class=core
+type=Cortex-A53
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump.init]
+file=cc1.init_dump.bin
+address=0x00000000004001D8
+
+[dump.text]
+file=cc1.text_dump.bin
+address=0x0000000000400200
+
+[dump__libc_freeres_fn]
+file=cc1__libc_freeres_fn_dump.bin
+address=0x00000000005CE9C0
+
+[dump__libc_thread_freeres_fn]
+file=cc1__libc_thread_freeres_fn_dump.bin
+address=0x00000000005CF610
+
+[dump.fini]
+file=cc1.fini_dump.bin
+address=0x00000000005CF700
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cpu_4.ini b/decoder/tests/snapshots/bugfix-exact-match/cpu_4.ini
new file mode 100644
index 0000000..38e2909
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cpu_4.ini
@@ -0,0 +1,30 @@
+[device]
+name=cpu_4
+class=core
+type=Cortex-A53
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump.init]
+file=cc1.init_dump.bin
+address=0x00000000004001D8
+
+[dump.text]
+file=cc1.text_dump.bin
+address=0x0000000000400200
+
+[dump__libc_freeres_fn]
+file=cc1__libc_freeres_fn_dump.bin
+address=0x00000000005CE9C0
+
+[dump__libc_thread_freeres_fn]
+file=cc1__libc_thread_freeres_fn_dump.bin
+address=0x00000000005CF610
+
+[dump.fini]
+file=cc1.fini_dump.bin
+address=0x00000000005CF700
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cpu_5.ini b/decoder/tests/snapshots/bugfix-exact-match/cpu_5.ini
new file mode 100644
index 0000000..87e1747
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cpu_5.ini
@@ -0,0 +1,30 @@
+[device]
+name=cpu_5
+class=core
+type=Cortex-A53
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump.init]
+file=cc1.init_dump.bin
+address=0x00000000004001D8
+
+[dump.text]
+file=cc1.text_dump.bin
+address=0x0000000000400200
+
+[dump__libc_freeres_fn]
+file=cc1__libc_freeres_fn_dump.bin
+address=0x00000000005CE9C0
+
+[dump__libc_thread_freeres_fn]
+file=cc1__libc_thread_freeres_fn_dump.bin
+address=0x00000000005CF610
+
+[dump.fini]
+file=cc1.fini_dump.bin
+address=0x00000000005CF700
diff --git a/decoder/tests/snapshots/bugfix-exact-match/cstrace.bin b/decoder/tests/snapshots/bugfix-exact-match/cstrace.bin
new file mode 100644
index 0000000..f577085
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/cstrace.bin
Binary files differ
diff --git a/decoder/tests/snapshots/bugfix-exact-match/etm_0.ini b/decoder/tests/snapshots/bugfix-exact-match/etm_0.ini
new file mode 100644
index 0000000..44f659d
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/etm_0.ini
@@ -0,0 +1,18 @@
+[device]
+name=etm_0
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000001
+TRCTRACEIDR(0x010)=0x00000010
+TRCAUTHSTATUS(0x3EE)=0x000000CC
+TRCIDR0(0x078)=0x28000EA1
+TRCIDR1(0x079)=0x4100F403
+TRCIDR2(0x07A)=0x00000488
+TRCIDR8(0x060)=0x00000000
+TRCIDR9(0x061)=0x00000000
+TRCIDR10(0x062)=0x00000000
+TRCIDR11(0x063)=0x00000000
+TRCIDR12(0x064)=0x00000000
+TRCIDR13(0x065)=0x00000000
diff --git a/decoder/tests/snapshots/bugfix-exact-match/etm_1.ini b/decoder/tests/snapshots/bugfix-exact-match/etm_1.ini
new file mode 100644
index 0000000..63a2534
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/etm_1.ini
@@ -0,0 +1,18 @@
+[device]
+name=etm_1
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000001
+TRCTRACEIDR(0x010)=0x00000012
+TRCAUTHSTATUS(0x3EE)=0x000000CC
+TRCIDR0(0x078)=0x28000EA1
+TRCIDR1(0x079)=0x4100F400
+TRCIDR2(0x07A)=0x00000488
+TRCIDR8(0x060)=0x00000000
+TRCIDR9(0x061)=0x00000000
+TRCIDR10(0x062)=0x00000000
+TRCIDR11(0x063)=0x00000000
+TRCIDR12(0x064)=0x00000000
+TRCIDR13(0x065)=0x00000000
diff --git a/decoder/tests/snapshots/bugfix-exact-match/etm_2.ini b/decoder/tests/snapshots/bugfix-exact-match/etm_2.ini
new file mode 100644
index 0000000..c7857cf
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/etm_2.ini
@@ -0,0 +1,18 @@
+[device]
+name=etm_2
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000001
+TRCTRACEIDR(0x010)=0x00000014
+TRCAUTHSTATUS(0x3EE)=0x000000CC
+TRCIDR0(0x078)=0x28000EA1
+TRCIDR1(0x079)=0x4100F400
+TRCIDR2(0x07A)=0x00000488
+TRCIDR8(0x060)=0x00000000
+TRCIDR9(0x061)=0x00000000
+TRCIDR10(0x062)=0x00000000
+TRCIDR11(0x063)=0x00000000
+TRCIDR12(0x064)=0x00000000
+TRCIDR13(0x065)=0x00000000
diff --git a/decoder/tests/snapshots/bugfix-exact-match/etm_3.ini b/decoder/tests/snapshots/bugfix-exact-match/etm_3.ini
new file mode 100644
index 0000000..5733167
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/etm_3.ini
@@ -0,0 +1,18 @@
+[device]
+name=etm_3
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000001
+TRCTRACEIDR(0x010)=0x00000016
+TRCAUTHSTATUS(0x3EE)=0x000000CC
+TRCIDR0(0x078)=0x28000EA1
+TRCIDR1(0x079)=0x4100F403
+TRCIDR2(0x07A)=0x00000488
+TRCIDR8(0x060)=0x00000000
+TRCIDR9(0x061)=0x00000000
+TRCIDR10(0x062)=0x00000000
+TRCIDR11(0x063)=0x00000000
+TRCIDR12(0x064)=0x00000000
+TRCIDR13(0x065)=0x00000000
diff --git a/decoder/tests/snapshots/bugfix-exact-match/etm_4.ini b/decoder/tests/snapshots/bugfix-exact-match/etm_4.ini
new file mode 100644
index 0000000..7466761
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/etm_4.ini
@@ -0,0 +1,18 @@
+[device]
+name=etm_4
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000001
+TRCTRACEIDR(0x010)=0x00000018
+TRCAUTHSTATUS(0x3EE)=0x000000CC
+TRCIDR0(0x078)=0x28000EA1
+TRCIDR1(0x079)=0x4100F403
+TRCIDR2(0x07A)=0x00000488
+TRCIDR8(0x060)=0x00000000
+TRCIDR9(0x061)=0x00000000
+TRCIDR10(0x062)=0x00000000
+TRCIDR11(0x063)=0x00000000
+TRCIDR12(0x064)=0x00000000
+TRCIDR13(0x065)=0x00000000
diff --git a/decoder/tests/snapshots/bugfix-exact-match/etm_5.ini b/decoder/tests/snapshots/bugfix-exact-match/etm_5.ini
new file mode 100644
index 0000000..2a78ba9
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/etm_5.ini
@@ -0,0 +1,18 @@
+[device]
+name=etm_5
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000001
+TRCTRACEIDR(0x010)=0x0000001A
+TRCAUTHSTATUS(0x3EE)=0x000000CC
+TRCIDR0(0x078)=0x28000EA1
+TRCIDR1(0x079)=0x4100F403
+TRCIDR2(0x07A)=0x00000488
+TRCIDR8(0x060)=0x00000000
+TRCIDR9(0x061)=0x00000000
+TRCIDR10(0x062)=0x00000000
+TRCIDR11(0x063)=0x00000000
+TRCIDR12(0x064)=0x00000000
+TRCIDR13(0x065)=0x00000000
diff --git a/decoder/tests/snapshots/bugfix-exact-match/snapshot.ini b/decoder/tests/snapshots/bugfix-exact-match/snapshot.ini
new file mode 100644
index 0000000..927d181
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/snapshot.ini
@@ -0,0 +1,23 @@
+[snapshot]
+version=1.0
+
+[device_list]
+device0=cpu_0.ini
+device1=cpu_1.ini
+device2=cpu_2.ini
+device3=cpu_3.ini
+device4=cpu_4.ini
+device5=cpu_5.ini
+device6=etm_0.ini
+device7=etm_1.ini
+device8=etm_2.ini
+device9=etm_3.ini
+device10=etm_4.ini
+device11=etm_5.ini
+
+[clusters]
+Cluster 0=cpu_1,cpu_2
+Cluster 1=cpu_0,cpu_3,cpu_4,cpu_5
+
+[trace]
+metadata=trace.ini
diff --git a/decoder/tests/snapshots/bugfix-exact-match/trace.ini b/decoder/tests/snapshots/bugfix-exact-match/trace.ini
new file mode 100644
index 0000000..b2488ca
--- /dev/null
+++ b/decoder/tests/snapshots/bugfix-exact-match/trace.ini
@@ -0,0 +1,23 @@
+[trace_buffers]
+buffers=buffer0
+
+[buffer0]
+name=etr_0
+file=cstrace.bin
+format=coresight
+
+[source_buffers]
+etm_0=etr_0
+etm_1=etr_0
+etm_2=etr_0
+etm_3=etr_0
+etm_4=etr_0
+etm_5=etr_0
+
+[core_trace_sources]
+cpu_0=etm_0
+cpu_1=etm_1
+cpu_2=etm_2
+cpu_3=etm_3
+cpu_4=etm_4
+cpu_5=etm_5