summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/msm_atomic_tracepoints.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2019-08-29 09:45:18 -0700
committerRob Clark <robdclark@chromium.org>2019-09-03 16:17:02 -0700
commitd934a712c5e6a3724dd560b8e92eb230b025ee8d (patch)
tree62488fe2e2ff6fe48b5875f7d1e067f70190e443 /drivers/gpu/drm/msm/msm_atomic_tracepoints.c
parentcd6d923167b1bf3e051f9d90fa129456d78ef06e (diff)
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"