1common:
2  harness: console
3  ignore_faults: true
4  ignore_qemu_crash: true
5  tags: kernel
6  filter: CONFIG_ARCH_STACKWALK
7tests:
8  arch.common.stack_unwind.riscv_fp:
9    arch_allow: riscv
10    integration_platforms:
11      - qemu_riscv32e
12      - qemu_riscv32
13      - qemu_riscv64
14    extra_configs:
15      - CONFIG_FRAME_POINTER=y
16    harness_config:
17      type: multi_line
18      regex:
19        - "E: call trace:"
20        - "E:       0: fp: \\w+ ra: \\w+"
21        - "E:       1: fp: \\w+ ra: \\w+"
22  arch.common.stack_unwind.riscv_sp:
23    arch_allow: riscv
24    integration_platforms:
25      - qemu_riscv32e
26      - qemu_riscv32
27      - qemu_riscv64
28    harness_config:
29      type: multi_line
30      regex:
31        - "E: call trace:"
32        - "E:       0: sp: \\w+ ra: \\w+"
33        - "E:       1: sp: \\w+ ra: \\w+"
34  arch.common.stack_unwind.x86:
35    arch_allow: x86
36    extra_configs:
37      - CONFIG_OMIT_FRAME_POINTER=n
38      - CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT=y
39    integration_platforms:
40      - qemu_x86
41      - qemu_x86_64
42    harness_config:
43      type: multi_line
44      regex:
45        - "E: call trace:"
46        - "E:      0: \\w+"
47        - "E:      1: \\w+"
48  arch.common.stack_unwind.arm64:
49    arch_allow:
50      - arm64
51    integration_platforms:
52      - qemu_cortex_a53
53    extra_configs:
54      - CONFIG_FRAME_POINTER=y
55    harness_config:
56      type: multi_line
57      regex:
58        - "E: call trace:"
59        - "E:      0: fp: \\w+ lr: \\w+"
60        - "E:      1: fp: \\w+ lr: \\w+"
61  arch.common.stack_unwind.symtab:
62    arch_allow:
63      - riscv
64      - arm64
65    integration_platforms:
66      - qemu_riscv32e
67      - qemu_riscv32
68      - qemu_riscv64
69      - qemu_cortex_a53
70    platform_exclude:
71      # these platforms disabled here since CONFIG_ARM_MMU=n by default
72      - fvp_baser_aemv8r/fvp_aemv8r_aarch64
73      - fvp_baser_aemv8r/fvp_aemv8r_aarch64/smp
74    extra_configs:
75      - CONFIG_FRAME_POINTER=y
76      - CONFIG_SYMTAB=y
77    harness_config:
78      type: multi_line
79      regex:
80        - "\\[func1\\+0x\\w+\\]"
81        - "\\[func2\\+0x\\w+\\]"
82        - "\\[func1\\+0x\\w+\\]"
83        - "\\[func2\\+0x\\w+\\]"
84        - "\\[func1\\+0x\\w+\\]"
85