提交 30e556d6 编写于 作者: X Xin Pan

Use vlog instead.

上级 eb468453
...@@ -201,7 +201,7 @@ class DeviceTracerImpl : public DeviceTracer { ...@@ -201,7 +201,7 @@ class DeviceTracerImpl : public DeviceTracer {
uint32_t correlation_id, uint64_t bytes) { uint32_t correlation_id, uint64_t bytes) {
// 0 means timestamp information could not be collected for the kernel. // 0 means timestamp information could not be collected for the kernel.
if (start_ns == 0 || end_ns == 0) { if (start_ns == 0 || end_ns == 0) {
LOG(WARNING) << name << " cannot be traced"; VLOG(3) << name << " cannot be traced";
return; return;
} }
std::lock_guard<std::mutex> l(trace_mu_); std::lock_guard<std::mutex> l(trace_mu_);
...@@ -213,7 +213,7 @@ class DeviceTracerImpl : public DeviceTracer { ...@@ -213,7 +213,7 @@ class DeviceTracerImpl : public DeviceTracer {
uint32_t stream_id, uint32_t correlation_id) { uint32_t stream_id, uint32_t correlation_id) {
// 0 means timestamp information could not be collected for the kernel. // 0 means timestamp information could not be collected for the kernel.
if (start == 0 || end == 0) { if (start == 0 || end == 0) {
LOG(WARNING) << correlation_id << " cannot be traced"; VLOG(3) << correlation_id << " cannot be traced";
return; return;
} }
std::lock_guard<std::mutex> l(trace_mu_); std::lock_guard<std::mutex> l(trace_mu_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册