Skip to content

Commit 206df54

Browse files
nashiflgirdwood
authored andcommitted
trace: do not set trace_ctx section for Zephyr [REVERTME]
This section is generating warnings when build with Zephyr, so remove for now. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent a97d166 commit 206df54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/include/sof/trace/trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ struct tr_ctx {
296296
uint32_t level; /**< Default log level */
297297
};
298298

299-
#if defined(UNIT_TEST)
299+
#if defined(UNIT_TEST) || defined(__ZEPHYR__)
300300
#define TRACE_CONTEXT_SECTION
301301
#else
302302
#define TRACE_CONTEXT_SECTION __section(".trace_ctx")

0 commit comments

Comments
 (0)