Skip to content
Closed
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
11 changes: 3 additions & 8 deletions src/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ static void put_header(void *dst, const struct sof_uuid_entry *uid,
struct log_entry_header header;
int ret;

header.uid = (uintptr_t)uid;
header.id_0 = id_1 & TRACE_ID_MASK;
header.id_1 = id_2 & TRACE_ID_MASK;
header.uid = 0;
header.id_0 = 0;
header.id_1 = 0;
header.core_id = cpu_get_id();
header.timestamp = timestamp + delta;
header.log_entry_address = entry;
Expand Down Expand Up @@ -281,11 +281,6 @@ void trace_log_filtered(bool send_atomic, const void *log_entry, const struct tr
return;
}

#if CONFIG_TRACE_FILTERING_VERBOSITY
if (!trace_filter_verbosity(lvl, ctx))
return;
#endif /* CONFIG_TRACE_FILTERING_VERBOSITY */

#if CONFIG_TRACE_FILTERING_ADAPTIVE
if (!trace->user_filter_override) {
const uint64_t current_ts = sof_cycle_get_64_safe();
Expand Down