diff options
author | Christian König <christian.koenig@amd.com> | 2015-06-10 08:45:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-06-29 11:21:43 -0400 |
commit | ec74407ac047c150080758f2a4cec47393a6c0f8 (patch) | |
tree | d27659c8c446458acd4f50dc89515a698fa3d066 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | |
parent | 93e3e4385b69d8885e0dd64d1c5b8c351a151e91 (diff) |
drm/amdgpu: add amdgpu_bo_list_set trace point
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <aleander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h index 9fe4f3ccd319..ed20f44b924d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | |||
@@ -169,6 +169,21 @@ TRACE_EVENT(amdgpu_vm_flush, | |||
169 | __entry->pd_addr, __entry->ring, __entry->id) | 169 | __entry->pd_addr, __entry->ring, __entry->id) |
170 | ); | 170 | ); |
171 | 171 | ||
172 | TRACE_EVENT(amdgpu_bo_list_set, | ||
173 | TP_PROTO(struct amdgpu_bo_list *list, struct amdgpu_bo *bo), | ||
174 | TP_ARGS(list, bo), | ||
175 | TP_STRUCT__entry( | ||
176 | __field(struct amdgpu_bo_list *, list) | ||
177 | __field(struct amdgpu_bo *, bo) | ||
178 | ), | ||
179 | |||
180 | TP_fast_assign( | ||
181 | __entry->list = list; | ||
182 | __entry->bo = bo; | ||
183 | ), | ||
184 | TP_printk("list=%p, bo=%p", __entry->list, __entry->bo) | ||
185 | ); | ||
186 | |||
172 | DECLARE_EVENT_CLASS(amdgpu_fence_request, | 187 | DECLARE_EVENT_CLASS(amdgpu_fence_request, |
173 | 188 | ||
174 | TP_PROTO(struct drm_device *dev, int ring, u32 seqno), | 189 | TP_PROTO(struct drm_device *dev, int ring, u32 seqno), |