Re: [PATCH v2] drm/i915: store HW tagging information into tracepoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Lionel Landwerlin (2020-04-19 14:46:27)
> In Gpuvis [1] we added matching of the OA report tags against i915
> tracepoints fields to figure what workload was submitted by what
> process. It doesn't matter much whether HW tags get reused for a
> single request, as it gets preempted for example. All we need is link
> between the OA report and seqno/engine over a short period of time.
> That is enough to find the relationship between the different elements
> on a timeline.
> 
> The tags got removed from the tracepoints in 2935ed5339c4 ("drm/i915:
> Remove logical HW ID"). I was fine with the idea of reuse and dropping
> them from most tracepoints, but we still need it at execlist port
> insertion.
> 
> This change brings the hw_id back just for the i915_request_in
> tracepoint.

I'd rather remove the tracepoints if they are not being used for the
sole purpose of debugging the kernel. We are not committing to these
to being any form of ABI, and that you want to use these in an
application is a mistake [on our part].

As for the meat of the patch, since nothing is using i915_request.tag,
there's no reason to add it; and the tracepoint would be better at
tracking the context in/out.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux