Revert "trace: do not set trace_ctx section for Zephyr [REVERTME]"

This reverts commit 206df545c4.

Part of the fix for #5032

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2021-12-09 05:06:47 +00:00 committed by Liam Girdwood
parent ea85ccf25f
commit 749d41d577
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ struct tr_ctx {
uint32_t level; /**< Default log level */
};
#if defined(UNIT_TEST) || defined(__ZEPHYR__)
#if defined(UNIT_TEST)
#define TRACE_CONTEXT_SECTION
#else
#define TRACE_CONTEXT_SECTION __section(".trace_ctx")