diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-07-02 01:47:31 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-07-02 06:02:44 +0200 |
commit | ac2874b980e05ed7a4ea8fed7b0a92428b51ce58 (patch) | |
tree | 71c0c8e4abe395a46ca21d2bdc3493cce19719e7 /drivers/gpu/drm/drm_trace_points.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anh... (diff) | |
download | linux-ac2874b980e05ed7a4ea8fed7b0a92428b51ce58.tar.xz linux-ac2874b980e05ed7a4ea8fed7b0a92428b51ce58.zip |
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" |