zephyr/samples/subsys/tracing/sample.yaml
Anas Nashif 50a9184787 samples: fix configuration for systemview/cpu stats
need to enable tracing.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-04-29 22:30:19 -04:00

47 lines
1.4 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.backends.sysview:
platform_whitelist: nrf52840dk_nrf52840
extra_configs:
- CONFIG_TRACING=y
- CONFIG_SEGGER_SYSTEMVIEW=y
- CONFIG_USE_SEGGER_RTT=y
tracing.backends.cpu_stats:
platform_whitelist: nrf52840dk_nrf52840
extra_configs:
- CONFIG_TRACING=y
- CONFIG_TRACING_CPU_STATS=y
tracing.backends.openocd:
extra_configs:
- CONFIG_OPENOCD_SUPPORT=y
- CONFIG_SMP=n
arch_exclude: posix xtensa
platform_exclude: qemu_x86_64
tracing.uart:
platform_whitelist: qemu_x86 qemu_x86_64
extra_args: CONF_FILE="prj_uart.conf"
tracing.usb:
platform_whitelist: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb.conf"
tracing.uart.ctf:
platform_whitelist: qemu_x86 qemu_x86_64
extra_args: CONF_FILE="prj_uart_ctf.conf"
tracing.usb.ctf:
platform_whitelist: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb_ctf.conf"
tracing.posix:
platform_whitelist: native_posix
extra_args: CONF_FILE="prj_native_posix.conf"
tracing.posix.ctf:
platform_whitelist: native_posix
extra_args: CONF_FILE="prj_native_posix_ctf.conf"