Adding Node-id for debugging with log level trace (#1090)
[ROCm/rocprofiler-sdk commit: 8ab1ed78d8]
This commit is contained in:
@@ -55,13 +55,14 @@ CounterPacketConstruct::CounterPacketConstruct(rocprofiler_agent_id_t
|
|||||||
_metrics.emplace_back().metric = x;
|
_metrics.emplace_back().metric = x;
|
||||||
uint32_t event_id = std::atoi(x.event().c_str());
|
uint32_t event_id = std::atoi(x.event().c_str());
|
||||||
|
|
||||||
ROCP_TRACE << fmt::format(
|
ROCP_TRACE << fmt::format("Fetching events for counter {} (id={}, instance_count={}) on "
|
||||||
"Fetching events for counter {} (id={}, instance_count={}) on agent {} (name:{})",
|
"agent {} (node-id:{})(name:{})",
|
||||||
x.name(),
|
x.name(),
|
||||||
event_id,
|
event_id,
|
||||||
query_info.instance_count,
|
query_info.instance_count,
|
||||||
agent.handle,
|
agent.handle,
|
||||||
rocprofiler::agent::get_agent(agent)->name);
|
rocprofiler::agent::get_agent(agent)->node_id,
|
||||||
|
rocprofiler::agent::get_agent(agent)->name);
|
||||||
|
|
||||||
for(unsigned block_index = 0; block_index < query_info.instance_count; ++block_index)
|
for(unsigned block_index = 0; block_index < query_info.instance_count; ++block_index)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user