[Intel-xe] [PATCH] fixup! fixup! drm/xe/pmu: Enable PMU interface
Aravind Iddamsetty
aravind.iddamsetty at linux.intel.com
Thu Sep 21 11:36:37 UTC 2023
Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty at linux.intel.com>
---
include/uapi/drm/xe_drm.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 6ab85c7fed36..d48d8e3c898c 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -1056,12 +1056,14 @@ struct drm_xe_vm_madvise {
/**
* DOC: XE PMU event config IDs
*
- * Check 'man perf_event_open' to use these ID's in 'struct perf_event_attr'
- * as part of perf_event_open syscall to read a particular event.
+ * Check 'man perf_event_open' to use the ID's XE_PMU_XXXX listed in xe_drm.h
+ * in 'struct perf_event_attr' as part of perf_event_open syscall to read a
+ * particular event.
*
* For example to open the XE_PMU_INTERRUPTS(0):
*
* .. code-block:: C
+ *
* struct perf_event_attr attr;
* long long count;
* int cpu = 0;
--
2.25.1
More information about the Intel-xe
mailing list