File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ class DeviceTracerImpl : public DeviceTracer {
201
201
uint32_t correlation_id, uint64_t bytes) {
202
202
// 0 means timestamp information could not be collected for the kernel.
203
203
if (start_ns == 0 || end_ns == 0 ) {
204
+ LOG (WARNING) << name << " cannot be traced" ;
204
205
return ;
205
206
}
206
207
std::lock_guard<std::mutex> l (trace_mu_);
@@ -212,6 +213,7 @@ class DeviceTracerImpl : public DeviceTracer {
212
213
uint32_t stream_id, uint32_t correlation_id) {
213
214
// 0 means timestamp information could not be collected for the kernel.
214
215
if (start == 0 || end == 0 ) {
216
+ LOG (WARNING) << correlation_id << " cannot be traced" ;
215
217
return ;
216
218
}
217
219
std::lock_guard<std::mutex> l (trace_mu_);
You can’t perform that action at this time.
0 commit comments