[PATCH i-g-t 2/2] tools/xe-perf: Change xe_perf_recorder command line to use OA unit id

Dixit, Ashutosh ashutosh.dixit at intel.com
Sat Jun 14 01:12:26 UTC 2025


On Fri, 13 Jun 2025 18:08:27 -0700, Ashutosh Dixit wrote:
>
> Xe OA uapi identifies an OA unit by means of its OA unit id.
> xe_perf_recorder was instead using engine class/instance to identify the OA
> unit, in order to have a common command line with i915_perf_recorder.
>
> However, Xe KMD now supports new OA units, which don't have any associated
> engines. This means that it is not possible to use engine class/instance to
> identify these OA units and these OA units must instead be identified by
> means of the OA unit id, as originally intended in Xe OA uapi.
>
> Therefore, change xe_perf_recorder command line to use OA unit id instead
> of engine class/instance to identify the OA unit.

After this patch is reviewed, we will create a gpuvis PR to update the
xe_perf_recorder command line in gpuvis scripts.


More information about the igt-dev mailing list