@@ -141,7 +141,7 @@ void RocmTracer::Enable(const RocmTracerOptions& options,
141141 api_tracing_enabled_ = true ;
142142 activity_tracing_enabled_ = true ;
143143 rocprofiler_start_context (context_);
144- LOG (INFO ) << " GpuTracer started with number of GPUs = " << NumGpus ();
144+ VLOG ( 1 ) << " GpuTracer started with number of GPUs = " << NumGpus ();
145145}
146146
147147void RocmTracer::HipApiEvent (const rocprofiler_record_header_t * hdr,
@@ -405,7 +405,7 @@ int RocmTracer::toolInit(rocprofiler_client_finalize_t fini_func,
405405 // Gather agent info
406406 num_gpus_ = 0 ;
407407 for (const auto & agent : GetGpuDeviceAgents ()) {
408- LOG (INFO ) << " agent id = " << agent.id .handle
408+ VLOG ( 1 ) << " agent id = " << agent.id .handle
409409 << " , dev = " << agent.device_id
410410 << " , name = " << (agent.name ? agent.name : " null" );
411411 agents_[agent.id .handle ] = agent;
@@ -427,7 +427,7 @@ int RocmTracer::toolInit(rocprofiler_client_finalize_t fini_func,
427427 nullptr );
428428
429429 rocprofiler_start_context (utility_context_);
430- LOG (INFO ) << " rocprofiler start utilityContext" ;
430+ VLOG ( 1 ) << " rocprofiler start utilityContext" ;
431431
432432 // a multiple of the page size, and the gap allows the buffer to absorb bursts
433433 // of GPU events
@@ -490,7 +490,7 @@ int RocmTracer::toolInit(rocprofiler_client_finalize_t fini_func,
490490
491491void RocmTracer::toolFinalize (void * tool_data) {
492492 auto & obj = RocmTracer::GetRocmTracerSingleton ();
493- LOG (INFO ) << " Calling toolFinalize!" ;
493+ VLOG ( 1 ) << " Calling toolFinalize!" ;
494494 rocprofiler_stop_context (obj.utility_context_ );
495495 obj.utility_context_ .handle = 0 ;
496496 rocprofiler_stop_context (obj.context_ );
@@ -504,7 +504,7 @@ void RocmTracer::Disable() {
504504 collector_ = nullptr ;
505505 api_tracing_enabled_ = false ;
506506 activity_tracing_enabled_ = false ;
507- LOG (INFO ) << " GpuTracer stopped" ;
507+ VLOG ( 1 ) << " GpuTracer stopped" ;
508508}
509509
510510// ----------------------------------------------------------------------------
@@ -554,13 +554,13 @@ extern "C" rocprofiler_tool_configure_result_t* rocprofiler_configure(
554554 id->name = " XLA-with-rocprofiler-sdk" ;
555555 obj.client_id_ = id;
556556
557- LOG (INFO ) << " Configure rocprofiler-sdk..." ;
557+ VLOG ( 1 ) << " Configure rocprofiler-sdk..." ;
558558
559559 const uint32_t major = version / 10000 ;
560560 const uint32_t minor = (version % 10000 ) / 100 ;
561561 const uint32_t patch = version % 100 ;
562562
563- LOG (INFO ) << absl::StrFormat (
563+ VLOG ( 1 ) << absl::StrFormat (
564564 " %s Configure XLA with rocprofv3... (priority=%u) is using "
565565 " rocprofiler-sdk v%u.%u.%u (%s)" ,
566566 id->name , static_cast <unsigned >(priority), static_cast <unsigned >(major),
0 commit comments