Skip to content

Commit afcc054

Browse files
committed
Minor fix
1 parent c0bb2c0 commit afcc054

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

unified-runtime/source/loader/layers/tracing/ur_tracing_layer.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,8 @@ void context_t::notify(uint16_t trace_type, uint32_t id, const char *name,
7575
activeEvent, instance, &payload);
7676
} else {
7777
// Use global event for all UR API calls
78-
if (xptiCheckTraceEnabled(call_stream_id))
79-
xptiNotifySubscribers(call_stream_id, trace_type, nullptr, activeEvent,
80-
instance, &payload);
78+
xptiNotifySubscribers(call_stream_id, trace_type, nullptr, activeEvent,
79+
instance, &payload);
8180
}
8281
}
8382

0 commit comments

Comments
 (0)