diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-07-02 03:47:31 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-07-02 08:02:44 +0400 |
commit | ac2874b980e05ed7a4ea8fed7b0a92428b51ce58 (patch) | |
tree | 71c0c8e4abe395a46ca21d2bdc3493cce19719e7 /drivers/gpu/drm/drm_trace_points.c | |
parent | 97e0214044d9f279a3d6286c9f859696ef0b7ebe (diff) | |
download | linux-ac2874b980e05ed7a4ea8fed7b0a92428b51ce58.tar.xz |
drm: add vblank event trace point
Emit a trace point for vblank events. This can be helpful for mapping
drawing activity against the vblank frequency and period.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_trace_points.c')
-rw-r--r-- | drivers/gpu/drm/drm_trace_points.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_trace_points.c b/drivers/gpu/drm/drm_trace_points.c new file mode 100644 index 000000000000..0d0eb90864ae --- /dev/null +++ b/drivers/gpu/drm/drm_trace_points.c @@ -0,0 +1,4 @@ +#include "drmP.h" + +#define CREATE_TRACE_POINTS +#include "drm_trace.h" |