diff options
author | Inki Dae <inki.dae@samsung.com> | 2016-08-19 13:46:09 +0200 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:53:33 +0900 |
commit | 95bc30fa225ca17bd589606bc7fc58f3c5305a08 (patch) | |
tree | 9563b65624c57a03f780ae39b088b703666e6be7 /drivers/gpu/drm/exynos/exynos_trace.c | |
parent | f09d2a5de83d362e50f7a5e9f1f2a26d3a13dad1 (diff) |
drm/exynos: add trace support
This patch adds trace support and also inserts
two trace points, one is win_commit and other is finish_pageflip.
These would give us help to trace pageflip operation.
Change-Id: I1cd912f03703ae40d3fe45a4b329eddfce5178e4
Signed-off-by: Inki Dae <inki.dae@samsung.com>
[squashed with bugfixes and ported to v4.1 Tizen kernel]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_trace.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_trace.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_trace.c b/drivers/gpu/drm/exynos/exynos_trace.c new file mode 100644 index 000000000000..696f5bfc8b59 --- /dev/null +++ b/drivers/gpu/drm/exynos/exynos_trace.c @@ -0,0 +1,18 @@ +/* exynos_trace.c + * + * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Authors: + * Inki Dae <inki.dae@samsung.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#include "exynos_drm_drv.h" + +#ifndef __CHECKER__ +#define CREATE_TRACE_POINTS +#include "exynos_trace.h" +#endif |