Reduced logging mode selection to deferred, immediate, minimal and
frontend. Decoupled logging version from mode and created CONFIG_LOG1
which can be used to explicitly select deprecated version.
From now on, chosing CONFIG_LOG_MODE_{IMMEDIATE,DEFERRED} will result
in version2.
Deprecated CONFIG_LOG2_MODE_{IMMEDIATE,DEFERRED} with cmake warning.
Codebase adapted to those changes.
Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
tests:
|
|
logging.log_benchmark_v1:
|
|
integration_platforms:
|
|
- native_posix
|
|
tags: logging
|
|
extra_configs:
|
|
- CONFIG_LOG1=y
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_LOG_STRDUP_BUF_COUNT=8
|
|
- CONFIG_LOG_STRDUP_MAX_STRING=32
|
|
- CONFIG_LOG_MODE_DEFERRED=y
|
|
|
|
logging.log_benchmark_user_v1:
|
|
integration_platforms:
|
|
- native_posix
|
|
tags: logging
|
|
platform_allow: qemu_x86 native_posix
|
|
extra_configs:
|
|
- CONFIG_LOG1=y
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_LOG_STRDUP_BUF_COUNT=8
|
|
- CONFIG_LOG_STRDUP_MAX_STRING=32
|
|
- CONFIG_LOG_MODE_DEFERRED=y
|
|
- CONFIG_TEST_USERSPACE=y
|
|
|
|
logging.log_benchmark_v2:
|
|
integration_platforms:
|
|
- native_posix
|
|
tags: logging
|
|
extra_configs:
|
|
- CONFIG_LOG_MODE_DEFERRED=y
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
|
|
logging.log_benchmark_v2_speed:
|
|
integration_platforms:
|
|
- native_posix
|
|
tags: logging
|
|
extra_configs:
|
|
- CONFIG_LOG_MODE_DEFERRED=y
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_LOG_SPEED=y
|
|
|
|
logging.log_benchmark_user_v2:
|
|
integration_platforms:
|
|
- native_posix
|
|
tags: logging
|
|
platform_allow: qemu_x86 native_posix
|
|
extra_configs:
|
|
- CONFIG_LOG_MODE_DEFERRED=y
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_TEST_USERSPACE=y
|