mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: add cleaner shader trace point
Note when the cleaner shader is executed. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
1bb1314d0b
commit
02ba7543f2
@@ -474,6 +474,21 @@ TRACE_EVENT(amdgpu_isolation,
|
||||
__entry->next)
|
||||
);
|
||||
|
||||
TRACE_EVENT(amdgpu_cleaner_shader,
|
||||
TP_PROTO(struct amdgpu_ring *ring, struct dma_fence *fence),
|
||||
TP_ARGS(ring, fence),
|
||||
TP_STRUCT__entry(
|
||||
__string(ring, ring->name)
|
||||
__field(u64, seqno)
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
__assign_str(ring);
|
||||
__entry->seqno = fence->seqno;
|
||||
),
|
||||
TP_printk("ring=%s, seqno=%Lu", __get_str(ring), __entry->seqno)
|
||||
);
|
||||
|
||||
TRACE_EVENT(amdgpu_bo_list_set,
|
||||
TP_PROTO(struct amdgpu_bo_list *list, struct amdgpu_bo *bo),
|
||||
TP_ARGS(list, bo),
|
||||
|
||||
Reference in New Issue
Block a user