diff options
Diffstat (limited to '')
16 files changed, 247 insertions, 0 deletions
diff --git a/decoder/tests/snapshots/juno-ret-stck/cpu_0.ini b/decoder/tests/snapshots/juno-ret-stck/cpu_0.ini new file mode 100644 index 0000000..3ad8b61 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cpu_0.ini @@ -0,0 +1,16 @@ +[device] +name=cpu_0 +class=core +type=Cortex-A53 + +[regs] +PC(size:64)=0xFFFF000008080000 +SP(size:64)=0 +SCTLR_EL1=0x1007 +CPSR=0x1C5 + +[dump1] +file=kernel_dump.bin +address=0xFFFF000008080000 +length=0x00700000 + diff --git a/decoder/tests/snapshots/juno-ret-stck/cpu_1.ini b/decoder/tests/snapshots/juno-ret-stck/cpu_1.ini new file mode 100644 index 0000000..48d355e --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cpu_1.ini @@ -0,0 +1,16 @@ +[device] +name=cpu_1 +class=core +type=Cortex-A53 + +[regs] +PC(size:64)=0xFFFF000008080000 +SP(size:64)=0 +SCTLR_EL1=0x1007 +CPSR=0x1C5 + +[dump1] +file=kernel_dump.bin +address=0xFFFF000008080000 +length=0x00700000 + diff --git a/decoder/tests/snapshots/juno-ret-stck/cpu_2.ini b/decoder/tests/snapshots/juno-ret-stck/cpu_2.ini new file mode 100644 index 0000000..995fd01 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cpu_2.ini @@ -0,0 +1,16 @@ +[device] +name=cpu_2 +class=core +type=Cortex-A53 + +[regs] +PC(size:64)=0xFFFF000008080000 +SP(size:64)=0 +SCTLR_EL1=0x1007 +CPSR=0x1C5 + +[dump1] +file=kernel_dump.bin +address=0xFFFF000008080000 +length=0x00700000 + diff --git a/decoder/tests/snapshots/juno-ret-stck/cpu_3.ini b/decoder/tests/snapshots/juno-ret-stck/cpu_3.ini new file mode 100644 index 0000000..c7c198e --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cpu_3.ini @@ -0,0 +1,16 @@ +[device] +name=cpu_3 +class=core +type=Cortex-A53 + +[regs] +PC(size:64)=0xFFFF000008080000 +SP(size:64)=0 +SCTLR_EL1=0x1007 +CPSR=0x1C5 + +[dump1] +file=kernel_dump.bin +address=0xFFFF000008080000 +length=0x00700000 + diff --git a/decoder/tests/snapshots/juno-ret-stck/cpu_4.ini b/decoder/tests/snapshots/juno-ret-stck/cpu_4.ini new file mode 100644 index 0000000..acb2f0e --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cpu_4.ini @@ -0,0 +1,16 @@ +[device] +name=cpu_4 +class=core +type=Cortex-A57 + +[regs] +PC(size:64)=0xFFFF000008080000 +SP(size:64)=0 +SCTLR_EL1=0x1007 +CPSR=0x1C5 + +[dump1] +file=kernel_dump.bin +address=0xFFFF000008080000 +length=0x00700000 + diff --git a/decoder/tests/snapshots/juno-ret-stck/cpu_5.ini b/decoder/tests/snapshots/juno-ret-stck/cpu_5.ini new file mode 100644 index 0000000..4bd2ec3 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cpu_5.ini @@ -0,0 +1,16 @@ +[device] +name=cpu_5 +class=core +type=Cortex-A57 + +[regs] +PC(size:64)=0xFFFF000008080000 +SP(size:64)=0 +SCTLR_EL1=0x1007 +CPSR=0x1C5 + +[dump1] +file=kernel_dump.bin +address=0xFFFF000008080000 +length=0x00700000 + diff --git a/decoder/tests/snapshots/juno-ret-stck/cstrace.bin b/decoder/tests/snapshots/juno-ret-stck/cstrace.bin Binary files differnew file mode 100644 index 0000000..dd85c52 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/cstrace.bin diff --git a/decoder/tests/snapshots/juno-ret-stck/device_10.ini b/decoder/tests/snapshots/juno-ret-stck/device_10.ini new file mode 100644 index 0000000..a76a269 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/device_10.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_4 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x000010C1 +TRCTRACEIDR(0x010)=0x00000014 +TRCAUTHSTATUS(0x3EE)=0x000000CC +TRCIDR0(0x078)=0x28000EA1 +TRCIDR1(0x079)=0x4100F402 +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-ret-stck/device_11.ini b/decoder/tests/snapshots/juno-ret-stck/device_11.ini new file mode 100644 index 0000000..108009f --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/device_11.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_5 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x000010C1 +TRCTRACEIDR(0x010)=0x00000015 +TRCAUTHSTATUS(0x3EE)=0x000000CC +TRCIDR0(0x078)=0x28000EA1 +TRCIDR1(0x079)=0x4100F402 +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-ret-stck/device_6.ini b/decoder/tests/snapshots/juno-ret-stck/device_6.ini new file mode 100644 index 0000000..ae789c2 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/device_6.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_0 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x000010C1 +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/juno-ret-stck/device_7.ini b/decoder/tests/snapshots/juno-ret-stck/device_7.ini new file mode 100644 index 0000000..a25307f --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/device_7.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_1 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x000010C1 +TRCTRACEIDR(0x010)=0x00000011 +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/juno-ret-stck/device_8.ini b/decoder/tests/snapshots/juno-ret-stck/device_8.ini new file mode 100644 index 0000000..9582a51 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/device_8.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_2 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x000010C1 +TRCTRACEIDR(0x010)=0x00000012 +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/juno-ret-stck/device_9.ini b/decoder/tests/snapshots/juno-ret-stck/device_9.ini new file mode 100644 index 0000000..055ea28 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/device_9.ini @@ -0,0 +1,18 @@ +[device] +name=ETM_3 +class=trace_source +type=ETM4 + +[regs] +TRCCONFIGR(0x004)=0x000010C1 +TRCTRACEIDR(0x010)=0x00000013 +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/juno-ret-stck/kernel_dump.bin b/decoder/tests/snapshots/juno-ret-stck/kernel_dump.bin Binary files differnew file mode 100644 index 0000000..aee21a9 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/kernel_dump.bin diff --git a/decoder/tests/snapshots/juno-ret-stck/snapshot.ini b/decoder/tests/snapshots/juno-ret-stck/snapshot.ini new file mode 100644 index 0000000..9363fa7 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/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-ret-stck/trace.ini b/decoder/tests/snapshots/juno-ret-stck/trace.ini new file mode 100644 index 0000000..b9c6870 --- /dev/null +++ b/decoder/tests/snapshots/juno-ret-stck/trace.ini @@ -0,0 +1,23 @@ +[trace_buffers] +buffers=buffer0 + +[buffer0] +name=ETB_0 +file=cstrace.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 |