drm/lima: add trace point for tasks
track lima task start which can be combined with dma_fence_signal to identify task execution time. example command to record: trace-cmd record -i \ -e "lima:lima_task_submit" -e "lima:lima_task_run" \ -e "*fence:*fence_signaled" -e "drm:drm_vblank_event" \ -e "drm:drm_vblank_event_queued" sleep 4 Reviewed-by:Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200307135438.9981-1-yuq825@gmail.com
Showing
- drivers/gpu/drm/lima/Makefile 2 additions, 1 deletiondrivers/gpu/drm/lima/Makefile
- drivers/gpu/drm/lima/lima_sched.c 4 additions, 1 deletiondrivers/gpu/drm/lima/lima_sched.c
- drivers/gpu/drm/lima/lima_sched.h 1 addition, 0 deletionsdrivers/gpu/drm/lima/lima_sched.h
- drivers/gpu/drm/lima/lima_trace.c 7 additions, 0 deletionsdrivers/gpu/drm/lima/lima_trace.c
- drivers/gpu/drm/lima/lima_trace.h 50 additions, 0 deletionsdrivers/gpu/drm/lima/lima_trace.h
drivers/gpu/drm/lima/lima_trace.c
0 → 100644
drivers/gpu/drm/lima/lima_trace.h
0 → 100644
Please register or sign in to comment