The ROCm profiler would expose the data from KFD profiling APIs to application developers to tune the applications based on how the address range attributes affect the behavior and performance. Per process event log use the existing SMI (system management interface) event API. Each event log is one line of text, starting with event id, and then name=value pairs for the event specific information. Philip Yang (5): drm/amdkfd: correct SMI event read size drm/amdkfd: enable per process SMI event drm/amdkfd: add page fault SMI event drm/amdkfd: add migration SMI event drm/amdkfd: add user queue eviction restore SMI event drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 7 +- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 11 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 +- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 67 ++++++--- drivers/gpu/drm/amd/amdkfd/kfd_migrate.h | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 36 ++++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 133 ++++++++++++++++-- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 12 ++ drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 34 +++-- include/uapi/linux/kfd_ioctl.h | 27 ++++ 11 files changed, 282 insertions(+), 56 deletions(-) -- 2.17.1