<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#008000;margin:15pt;" align="Left">
[Public]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Please provide a link to the proposed userspace branch that makes use of this.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Alex<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Philip Yang <Philip.Yang@amd.com><br>
<b>Sent:</b> Thursday, January 20, 2022 6:13 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Yang, Philip <Philip.Yang@amd.com>; Kuehling, Felix <Felix.Kuehling@amd.com><br>
<b>Subject:</b> [PATCH v2 0/8] HMM profiler interface</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">The ROCm profiler would expose the data from KFD profiling APIs to<br>
application developers to tune the applications based on how the address<br>
range attributes affect the behavior and performance.<br>
<br>
Per process event log use the existing SMI (system management interface)<br>
event API. Each event log is one line of text with the event specific<br>
information.<br>
<br>
v2:<br>
* Keep existing events behaviour<br>
* Use ktime_get_boottime_ns() as timestamp to correlate with other APIs<br>
* Use compact message layout, stick with existing message convention<br>
* Add unmap from GPU event<br>
<br>
Philip Yang (8):<br>
drm/amdkfd: Correct SMI event read size<br>
drm/amdkfd: Add KFD SMI event IDs and triggers<br>
drm/amdkfd: Enable per process SMI event<br>
drm/amdkfd: Add GPU recoverable fault SMI event<br>
drm/amdkfd: add migration SMI event<br>
drm/amdkfd: Add user queue eviction restore SMI event<br>
drm/amdkfd: Add unmap from GPU SMI event<br>
drm/amdkfd: Bump KFD API version for SMI profiling event<br>
<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 7 +-<br>
.../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 11 +-<br>
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 +-<br>
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 67 ++++---<br>
drivers/gpu/drm/amd/amdkfd/kfd_migrate.h | 5 +-<br>
drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +-<br>
drivers/gpu/drm/amd/amdkfd/kfd_process.c | 37 +++-<br>
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 163 +++++++++++++++++-<br>
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 19 +-<br>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 63 +++++--<br>
include/uapi/linux/kfd_ioctl.h | 30 +++-<br>
11 files changed, 343 insertions(+), 65 deletions(-)<br>
<br>
-- <br>
2.17.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>