Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe: trace bo create

Add a tracepoint to trace bo create.

Signed-off-by: Oak Zeng <oak.zeng@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241218164833.2364049-2-oak.zeng@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>

authored by

Oak Zeng and committed by
Himal Prasad Ghimiray
63060df6 758debf3

+6
+1
drivers/gpu/drm/xe/xe_bo.c
··· 1659 1659 } 1660 1660 } 1661 1661 1662 + trace_xe_bo_create(bo); 1662 1663 return bo; 1663 1664 1664 1665 err_unlock_put_bo:
+5
drivers/gpu/drm/xe/xe_trace_bo.h
··· 53 53 TP_ARGS(bo) 54 54 ); 55 55 56 + DEFINE_EVENT(xe_bo, xe_bo_create, 57 + TP_PROTO(struct xe_bo *bo), 58 + TP_ARGS(bo) 59 + ); 60 + 56 61 TRACE_EVENT(xe_bo_move, 57 62 TP_PROTO(struct xe_bo *bo, uint32_t new_placement, uint32_t old_placement, 58 63 bool move_lacks_source),