[Intel-xe] [PATCH] fixup! fixup! drm/xe/pmu: Enable PMU interface

Gustavo Sousa gustavo.sousa at intel.com
Thu Sep 21 12:27:40 UTC 2023


Quoting Aravind Iddamsetty (2023-09-21 08:36:37-03:00)
>Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty at linux.intel.com>

Reviewed-by: Gustavo Sousa <gustavo.sousa at 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