[PATCH 2/3] drm/xe/pmu: Add GT C6 events
Belgaumkar, Vinay
vinay.belgaumkar at intel.com
Wed Nov 13 17:24:25 UTC 2024
On 11/12/2024 8:12 PM, Raag Jadav wrote:
> On Tue, Nov 12, 2024 at 12:51:41PM -0800, Vinay Belgaumkar wrote:
>> Provide a PMU interface for GT C6 residency counters. The implementation
>> is ported over from the i915 PMU code. Residency is provided in units of
>> ms(like sysfs entry in - /sys/class/drm/card0/device/tile0/gt0/gtidle).
>>
>> Sample usage and output-
>>
>> $ perf list | grep c6
>>
>> xe_0000_00_02.0/c6-residency-gt0/ [Kernel PMU event]
>> xe_0000_00_02.0/c6-residency-gt1/ [Kernel PMU event]
> Is it possible to do per gt?
>
> <bdf>/gt<n>/c6-residency
We want `perf list' command to find the events, I think that can only
list the ones directly inside the events directory for a device, it
cannot recurse inside that dir looking for gt specific events afaik.
Thanks,
Vinay.
>
> Raag
More information about the Intel-xe
mailing list