diff options
Diffstat (limited to '')
19 files changed, 332 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/juno-uname-002/cpu_0.ini b/decoder/tests/snapshots/juno-uname-002/cpu_0.ini new file mode 100644 index 0000000..d23a4d1 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/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 + +[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=0x1eb40 + +[dump4] +file=vdso.bin +address=0x7f8e5ba000 +length=0x1000 diff --git a/decoder/tests/snapshots/juno-uname-002/cpu_1.ini b/decoder/tests/snapshots/juno-uname-002/cpu_1.ini new file mode 100644 index 0000000..01486e5 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/cpu_1.ini @@ -0,0 +1,30 @@ +[device] +name=cpu_1 +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=0x1eb40 + +[dump4] +file=vdso.bin +address=0x7f8e5ba000 +length=0x1000 diff --git a/decoder/tests/snapshots/juno-uname-002/cpu_2.ini b/decoder/tests/snapshots/juno-uname-002/cpu_2.ini new file mode 100644 index 0000000..f10c626 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/cpu_2.ini @@ -0,0 +1,30 @@ +[device] +name=cpu_2 +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=0x1eb40 + +[dump4] +file=vdso.bin +address=0x7f8e5ba000 +length=0x1000 diff --git a/decoder/tests/snapshots/juno-uname-002/cpu_3.ini b/decoder/tests/snapshots/juno-uname-002/cpu_3.ini new file mode 100644 index 0000000..19c5a18 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/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 + +[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=0x1eb40 + +[dump4] +file=vdso.bin +address=0x7f8e5ba000 +length=0x1000 diff --git a/decoder/tests/snapshots/juno-uname-002/cpu_4.ini b/decoder/tests/snapshots/juno-uname-002/cpu_4.ini new file mode 100644 index 0000000..3feeb0d --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/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 + +[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=0x1eb40 + +[dump4] +file=vdso.bin +address=0x7f8e5ba000 +length=0x1000 diff --git a/decoder/tests/snapshots/juno-uname-002/cpu_5.ini b/decoder/tests/snapshots/juno-uname-002/cpu_5.ini new file mode 100644 index 0000000..16e0ff2 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/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 + +[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=0x1eb40 + +[dump4] +file=vdso.bin +address=0x7f8e5ba000 +length=0x1000 diff --git a/decoder/tests/snapshots/juno-uname-002/device_10.ini b/decoder/tests/snapshots/juno-uname-002/device_10.ini new file mode 100644 index 0000000..0e5d030 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/device_10.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_4 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x00000000 +TRCTRACEIDR(0x010)=0x00000018 +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/juno-uname-002/device_11.ini b/decoder/tests/snapshots/juno-uname-002/device_11.ini new file mode 100644 index 0000000..b28c912 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/device_11.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_5 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x00000000 +TRCTRACEIDR(0x010)=0x0000001A +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/juno-uname-002/device_6.ini b/decoder/tests/snapshots/juno-uname-002/device_6.ini new file mode 100644 index 0000000..b42289f --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/device_6.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_0 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x00000000 +TRCTRACEIDR(0x010)=0x00000010 +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/juno-uname-002/device_7.ini b/decoder/tests/snapshots/juno-uname-002/device_7.ini new file mode 100644 index 0000000..3a01e49 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/device_7.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_1 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x00000000 +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/juno-uname-002/device_8.ini b/decoder/tests/snapshots/juno-uname-002/device_8.ini new file mode 100644 index 0000000..9757669 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/device_8.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_2 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x00000000 +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/juno-uname-002/device_9.ini b/decoder/tests/snapshots/juno-uname-002/device_9.ini new file mode 100644 index 0000000..885be69 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/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/juno-uname-002/ld-2.21.bin b/decoder/tests/snapshots/juno-uname-002/ld-2.21.bin Binary files differnew file mode 100644 index 0000000..a67b0d4 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/ld-2.21.bin diff --git a/decoder/tests/snapshots/juno-uname-002/libc-2.21.bin b/decoder/tests/snapshots/juno-uname-002/libc-2.21.bin Binary files differnew file mode 100644 index 0000000..a16e68c --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/libc-2.21.bin diff --git a/decoder/tests/snapshots/juno-uname-002/snapshot.ini b/decoder/tests/snapshots/juno-uname-002/snapshot.ini new file mode 100644 index 0000000..9363fa7 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/snapshot.ini @@ -0,0 +1,20 @@ +[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=device_6.ini +device7=device_7.ini +device8=device_8.ini +device9=device_9.ini +device10=device_10.ini +device11=device_11.ini + + +[trace] +metadata=trace.ini diff --git a/decoder/tests/snapshots/juno-uname-002/trace.bin b/decoder/tests/snapshots/juno-uname-002/trace.bin Binary files differnew file mode 100644 index 0000000..3018f6f --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/trace.bin diff --git a/decoder/tests/snapshots/juno-uname-002/trace.ini b/decoder/tests/snapshots/juno-uname-002/trace.ini new file mode 100644 index 0000000..2d61f77 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/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/juno-uname-002/uname.bin b/decoder/tests/snapshots/juno-uname-002/uname.bin Binary files differnew file mode 100644 index 0000000..a20472c --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/uname.bin diff --git a/decoder/tests/snapshots/juno-uname-002/vdso.bin b/decoder/tests/snapshots/juno-uname-002/vdso.bin Binary files differnew file mode 100644 index 0000000..f1c8b22 --- /dev/null +++ b/decoder/tests/snapshots/juno-uname-002/vdso.bin |