mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
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 <[email protected]> Signed-off-by: Qiang Yu <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
8 lines
170 B
C
8 lines
170 B
C
// SPDX-License-Identifier: GPL-2.0 OR MIT
|
|
/* Copyright 2020 Qiang Yu <[email protected]> */
|
|
|
|
#include "lima_sched.h"
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include "lima_trace.h"
|