summaryrefslogtreecommitdiffstats
path: root/decoder/tests/snapshots/test-file-mem-offsets
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/test-file-mem-offsets
parentInitial commit. (diff)
downloadlibopencsd-070852d8604cece0c31f28ff3eb8d21d9ba415fb.tar.xz
libopencsd-070852d8604cece0c31f28ff3eb8d21d9ba415fb.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/test-file-mem-offsets')
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/cpu_3.ini37
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/device_9.ini18
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/ld-2.21.binbin0 -> 125760 bytes
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/libc-2.21.binbin0 -> 1274144 bytes
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/snapshot.ini11
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/trace.binbin0 -> 102992 bytes
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/trace.ini24
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/uname.binbin0 -> 27128 bytes
-rw-r--r--decoder/tests/snapshots/test-file-mem-offsets/vdso.binbin0 -> 4096 bytes
9 files changed, 90 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/cpu_3.ini b/decoder/tests/snapshots/test-file-mem-offsets/cpu_3.ini
new file mode 100644
index 0000000..f11f0e4
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/cpu_3.ini
@@ -0,0 +1,37 @@
+[device]
+name=cpu_3
+class=core
+type=Cortex-A53
+
+[regs]
+PC(size:64)=0xFFFFFFC000081000
+SP(size:64)=0
+SCTLR_EL1=0x1007
+CPSR=0x1C5
+
+[dump1]
+file=uname.bin
+address=0x400000
+length=0x000069f8
+
+[dump2]
+file=libc-2.21.bin
+address=0x7f8e446000
+length=0x137120
+
+[dump3]
+file=ld-2.21.bin
+address=0x7f8e58f000
+length=0x11000
+#length=0x1eb40
+
+[dump3a]
+file=ld-2.21.bin
+address=0x7f8e5a0000
+length=0x0db40
+offset=0x11000
+
+[dump4]
+file=vdso.bin
+address=0x7f8e5ba000
+length=0x1000
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/device_9.ini b/decoder/tests/snapshots/test-file-mem-offsets/device_9.ini
new file mode 100644
index 0000000..885be69
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/device_9.ini
@@ -0,0 +1,18 @@
+[device]
+name=ETM_3
+class=trace_source
+type=ETM4
+
+[regs]
+TRCCONFIGR(0x004)=0x00000000
+TRCTRACEIDR(0x010)=0x00000016
+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/test-file-mem-offsets/ld-2.21.bin b/decoder/tests/snapshots/test-file-mem-offsets/ld-2.21.bin
new file mode 100644
index 0000000..a67b0d4
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/ld-2.21.bin
Binary files differ
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/libc-2.21.bin b/decoder/tests/snapshots/test-file-mem-offsets/libc-2.21.bin
new file mode 100644
index 0000000..a16e68c
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/libc-2.21.bin
Binary files differ
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/snapshot.ini b/decoder/tests/snapshots/test-file-mem-offsets/snapshot.ini
new file mode 100644
index 0000000..39166cb
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/snapshot.ini
@@ -0,0 +1,11 @@
+[snapshot]
+version=1.0
+
+[device_list]
+device0=cpu_3.ini
+device1=device_9.ini
+
+
+
+[trace]
+metadata=trace.ini
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/trace.bin b/decoder/tests/snapshots/test-file-mem-offsets/trace.bin
new file mode 100644
index 0000000..3018f6f
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/trace.bin
Binary files differ
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/trace.ini b/decoder/tests/snapshots/test-file-mem-offsets/trace.ini
new file mode 100644
index 0000000..2d61f77
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/trace.ini
@@ -0,0 +1,24 @@
+[trace_buffers]
+buffers=buffer0
+
+[buffer0]
+name=ETB_0
+file=trace.bin
+format=coresight
+
+
+[source_buffers]
+ETM_0=ETB_0
+ETM_1=ETB_0
+ETM_2=ETB_0
+ETM_3=ETB_0
+ETM_4=ETB_0
+ETM_5=ETB_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
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/uname.bin b/decoder/tests/snapshots/test-file-mem-offsets/uname.bin
new file mode 100644
index 0000000..a20472c
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/uname.bin
Binary files differ
diff --git a/decoder/tests/snapshots/test-file-mem-offsets/vdso.bin b/decoder/tests/snapshots/test-file-mem-offsets/vdso.bin
new file mode 100644
index 0000000..f1c8b22
--- /dev/null
+++ b/decoder/tests/snapshots/test-file-mem-offsets/vdso.bin
Binary files differ