![Jordan Crouse](/assets/img/avatar_default.png)
Add trace events to track the progress of a GPU submission msm_gpu_submit occurs at the beginning of the submissions, msm_gpu_submit_flush happens when the submission is put on the ringbuffer and msm_submit_flush_retired is sent when the operation is retired. To make it easier to track the operations a unique sequence number is assigned to each submission and displayed in each event output so a human or a script can easily associate the events related to a specific submission. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
7 lines
141 B
C
7 lines
141 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include "msm_gem.h"
|
|
#include "msm_ringbuffer.h"
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include "msm_gpu_trace.h"
|