zephyr/samples/subsys/tracing/sample.yaml
Alberto Escolar Piedras b4d0791d1a services/tracing doc & samples: Replace native_posix w native_sim
In the docs replace the references to native_posix with native_sim.
In the sample, add overlays for native_sim, and add native_sim to filter
and as default integration platform.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-14 13:06:01 +01:00

81 lines
2.1 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:
sample.tracing.user:
extra_args: CONF_FILE="prj_user.conf"
integration_platforms:
- qemu_x86
platform_exclude:
- mr_canhubk3
harness_config:
type: multi_line
regex:
- "thread_a: Hello World from (.*)!"
- "thread_b: Hello World from (.*)!"
- "sys_trace_.*_user.*"
sample.tracing.format.sysview:
platform_allow:
- nrf52840dk_nrf52840
- mimxrt1050_evk
- mimxrt1064_evk
integration_platforms:
- nrf52840dk_nrf52840
extra_args: CONF_FILE="prj_sysview.conf"
sample.tracing.osawareness.openocd:
arch_exclude:
- posix
- xtensa
platform_exclude: qemu_x86_64
integration_platforms:
- qemu_x86
sample.tracing.transport.uart:
platform_allow:
- qemu_x86
- qemu_x86_64
integration_platforms:
- qemu_x86
extra_args: CONF_FILE="prj_uart.conf"
filter: dt_chosen_enabled("zephyr,tracing-uart")
sample.tracing.transport.usb:
platform_allow: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb.conf"
sample.tracing.transport.uart.ctf:
platform_allow:
- qemu_x86
- qemu_x86_64
integration_platforms:
- qemu_x86
extra_args: CONF_FILE="prj_uart_ctf.conf"
filter: dt_chosen_enabled("zephyr,tracing-uart")
sample.tracing.transport.usb.ctf:
platform_allow: sam_e70_xplained
depends_on: usb_device
extra_args: CONF_FILE="prj_usb_ctf.conf"
sample.tracing.transport.native:
platform_allow:
- native_posix
- native_sim
integration_platforms:
- native_sim
sample.tracing.transport.native.ctf:
platform_allow:
- native_posix
- native_sim
integration_platforms:
- native_sim
extra_args: CONF_FILE="prj_native_ctf.conf"
sample.tracing.percepio:
platform_allow: frdm_k64f
extra_args: CONF_FILE="prj_percepio.conf"
modules:
- percepio