When CONFIG_LOG_OUTPUT is set, it indicates that logging strings are formatted by the application (using log_output module). It is not needed when backend works in the dictionary mode. So far LOG_OUTPUT was set also when dictionary mode was used and that prevented removing of the logging strings from binary which is an important feature of the dictionary logging. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
18 lines
514 B
Text
18 lines
514 B
Text
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config LOG_BACKEND_ADSP_MTRACE
|
|
bool "Intel ADSP mtrace backend"
|
|
depends on SOC_FAMILY_INTEL_ADSP
|
|
select LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP
|
|
help
|
|
Provide a logging backend which writes to SRAM window
|
|
using the SOF Linux driver mtrace buffer layout.
|
|
|
|
if LOG_BACKEND_ADSP_MTRACE
|
|
|
|
backend = ADSP_MTRACE
|
|
backend-str = adsp_mtrace
|
|
source "subsys/logging/Kconfig.template.log_format_config"
|
|
|
|
endif # LOG_BACKEND_ADSP_MTRACE
|