summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_trace_points.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-11-23 11:47:49 +1000
committerDave Airlie <airlied@redhat.com>2010-12-16 14:37:47 +1000
commit99ee7fac189893c90145a22b86bbcfdc98f69a9c (patch)
tree2719e044984e4d8cceb93e7e18f79ded48c7b685 /drivers/gpu/drm/radeon/radeon_trace_points.c
parentf7eb0c55416aba7478932cedbaccc2bdacd8a95d (diff)
drm/radeon: add initial tracepoint support.
this adds a bo create, and fence seq tracking tracepoints. This is just an initial set to play around with, we should investigate what others we need would be useful. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_trace_points.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_trace_points.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_trace_points.c b/drivers/gpu/drm/radeon/radeon_trace_points.c
new file mode 100644
index 000000000000..8175993df84d
--- /dev/null
+++ b/drivers/gpu/drm/radeon/radeon_trace_points.c
@@ -0,0 +1,9 @@
+/* Copyright Red Hat Inc 2010.
+ * Author : Dave Airlie <airlied@redhat.com>
+ */
+#include <drm/drmP.h>
+#include "radeon_drm.h"
+#include "radeon.h"
+
+#define CREATE_TRACE_POINTS
+#include "radeon_trace.h"