mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: add isolation trace point
Note when we switch from one isolation owner to another. 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
db1e58ec86
commit
1bb1314d0b
@@ -457,6 +457,23 @@ DEFINE_EVENT(amdgpu_pasid, amdgpu_pasid_freed,
|
||||
TP_ARGS(pasid)
|
||||
);
|
||||
|
||||
TRACE_EVENT(amdgpu_isolation,
|
||||
TP_PROTO(void *prev, void *next),
|
||||
TP_ARGS(prev, next),
|
||||
TP_STRUCT__entry(
|
||||
__field(void *, prev)
|
||||
__field(void *, next)
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
__entry->prev = prev;
|
||||
__entry->next = next;
|
||||
),
|
||||
TP_printk("prev=%p, next=%p",
|
||||
__entry->prev,
|
||||
__entry->next)
|
||||
);
|
||||
|
||||
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