aboutsummaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/bugfix-exact-match
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/bugfix-exact-match
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/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 000000000000..f70774e98ff0
--- /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 000000000000..47d5581de852
--- /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 000000000000..1fbd33aaaf58
--- /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 000000000000..a2a86d2827c3
--- /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 000000000000..e10236523923
--- /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 000000000000..87cc3c270fc1
--- /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 000000000000..a02c3a0d1bf6
--- /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 000000000000..4f7b1b49d863
--- /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 000000000000..ae75409bc933
--- /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 000000000000..38e29099713c
--- /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 000000000000..87e1747b6749
--- /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 000000000000..f57708536ddd
--- /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 000000000000..44f659dfdbc8
--- /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 000000000000..63a2534316a8
--- /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 000000000000..c7857cffa9c2
--- /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 000000000000..57331671249e
--- /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 000000000000..746676193034
--- /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 000000000000..2a78ba96cef8
--- /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 000000000000..927d181e11b9
--- /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 000000000000..b2488caa3b11
--- /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