summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_atomic_tracepoints.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2019-08-29 18:45:18 +0200
committerRob Clark <robdclark@chromium.org>2019-09-04 01:17:02 +0200
commitd934a712c5e6a3724dd560b8e92eb230b025ee8d (patch)
tree62488fe2e2ff6fe48b5875f7d1e067f70190e443 /drivers/gpu/drm/msm/msm_atomic_tracepoints.c
parentdrm/msm/dpu: async commit support (diff)
downloadlinux-d934a712c5e6a3724dd560b8e92eb230b025ee8d.tar.xz
linux-d934a712c5e6a3724dd560b8e92eb230b025ee8d.zip
drm/msm: add atomic traces
This was useful for debugging fps drops. I suspect it will be useful again. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Sean Paul <sean@poorly.run>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_atomic_tracepoints.c')
-rw-r--r--drivers/gpu/drm/msm/msm_atomic_tracepoints.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_atomic_tracepoints.c b/drivers/gpu/drm/msm/msm_atomic_tracepoints.c
new file mode 100644
index 000000000000..011dc881f391
--- /dev/null
+++ b/drivers/gpu/drm/msm/msm_atomic_tracepoints.c
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: GPL-2.0
+#define CREATE_TRACE_POINTS
+#include "msm_atomic_trace.h"