zephyr/samples/subsys/tracing/sample.yaml
Wealian Liao 1fd29fb131 tracing: Fix tracing_user config
`tracing_user.h` lost several definitions, which made
CONFIG_TRACING_USER build fail. This fixes the TRACING_USER
config & adds it to the test case.

Moreover, the idle task stack is overflow on qemu_x86, qemu_cortex_m0 &
qemu_riscv64. This makes the test fail. So this commit sets the idle
stack size to 2048 for this sample to avoid it.

Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
2022-01-11 18:13:18 -05:00

38 lines
1.2 KiB
YAML

common:
tags: tracing debug
harness: console
harness_config:
type: multi_line
regex:
- "thread_a: Hello World from (.*)!"
- "thread_b: Hello World from (.*)!"
tests:
tracing.user:
extra_args: CONF_FILE="prj_user.conf"
tracing.format.sysview:
platform_allow: nrf52840dk_nrf52840 mimxrt1050_evk mimxrt1064_evk
extra_args: CONF_FILE="prj_sysview.conf"
tracing.osawareness.openocd:
arch_exclude: posix xtensa
platform_exclude: qemu_x86_64
tracing.transport.uart:
platform_allow: qemu_x86 qemu_x86_64
extra_args: CONF_FILE="prj_uart.conf"
tracing.transport.usb:
platform_allow: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb.conf"
tracing.transport.ctf:
platform_allow: qemu_x86 qemu_x86_64
extra_args: CONF_FILE="prj_uart_ctf.conf"
tracing.transport.ctf:
platform_allow: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb_ctf.conf"
tracing.transport.native_posix:
platform_allow: native_posix
extra_args: CONF_FILE="prj_native_posix.conf"
tracing.transport.posix.ctf:
platform_allow: native_posix
extra_args: CONF_FILE="prj_native_posix_ctf.conf"