Small debug print fix in ioctl.cpp (#120)
* Small debug print fix in ioctl.cpp Fix debug print statement to print agent id. * formatting --------- Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
committato da
GitHub
parent
fae4ad614c
commit
71dc203b0c
@@ -68,7 +68,8 @@ counter_collection_device_lock(const rocprofiler_agent_t* agent, bool all_queues
|
||||
ROCP_WARNING << fmt::format(
|
||||
"Device {} could not be locked for profiling due to lack of permissions "
|
||||
"(capability SYS_PERFMON). PMC Counters may be inaccurate and System Counter "
|
||||
"Collection will be degraded.");
|
||||
"Collection will be degraded.",
|
||||
agent->id.handle);
|
||||
return ROCPROFILER_STATUS_ERROR_PERMISSION_DENIED;
|
||||
case -EINVAL:
|
||||
ROCP_WARNING << fmt::format(
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user