Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,14 @@ struct sof_ipc_trace_filter_elem *trace_filter_fill(struct sof_ipc_trace_filter_
/* update global components, which tr_ctx is stored inside special section */
static int trace_filter_update_global(int32_t log_level, uint32_t uuid_id)
{
#ifndef __ZEPHYR__
extern void *_trace_ctx_start;
extern void *_trace_ctx_end;
struct tr_ctx *ptr = (struct tr_ctx *)&_trace_ctx_start;
struct tr_ctx *end = (struct tr_ctx *)&_trace_ctx_end;
#else
struct tr_ctx *ptr = NULL, *end = ptr;
#endif
int cnt = 0;

/* iterate over global `tr_ctx` entries located in their own section */
Expand Down