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>

[ROCm/rocprofiler-sdk commit: 71dc203b0c]
Этот коммит содержится в:
Welton, Benjamin
2025-01-15 18:00:04 -08:00
коммит произвёл GitHub
родитель baee324bfc
Коммит 9a8b8bf905
+2 -1
Просмотреть файл
@@ -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(