]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/trace: Print device_id in xe_trace events
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 7 Jun 2024 18:29:42 +0000 (11:29 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 12 Jun 2024 16:25:13 +0000 (09:25 -0700)
commit501c4255c40935280a10844cf7550bf1e4f8939b
tree1b65899b160d6e3b6a7244c95add1823499393c1
parent3cba2f1d3f18939362e082ea8b9bd8abfa735b84
drm/xe/trace: Print device_id in xe_trace events

In multi-gpu environments it is important to know the device
gt events belongs to. The tracing information includes the device_id
to indicate the device the event is associated with.

v2: Use variable sized variant to display dev name(Gustavo)
v3: Pass single argument to __assign_str to fix kunit error
v4: Remove unused sting_helper library include

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240607182943.3572524-6-radhakrishna.sripada@intel.com
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
drivers/gpu/drm/xe/xe_pt.c
drivers/gpu/drm/xe/xe_trace.h