use traceMark for ttrace_vblank 90/86290/1
authorBoram Park <boram1288.park@samsung.com>
Wed, 31 Aug 2016 10:22:16 +0000 (19:22 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 31 Aug 2016 10:22:16 +0000 (19:22 +0900)
Change-Id: Id0f9767dc9315e13778287c0f47fc9a54749e933

src/tdm.c
src/tdm_private.h

index e4e8eb52d9c529c96161e5e6f09f3854c03d2f09..273fc276113ee05f68989d03c1d88db71755db09 100644 (file)
--- a/src/tdm.c
+++ b/src/tdm.c
@@ -1180,7 +1180,7 @@ _tdm_display_ttrace_vblank_cb(tdm_vblank *vblank, tdm_error error, unsigned int
 {
        tdm_error ret = TDM_ERROR_NONE;
 
-       TDM_TRACE_COUNT(VBlank, sequence);
+       TDM_TRACE_MARK(VBlank);
 
        ret = tdm_vblank_wait(vblank, 0, 0, 1, _tdm_display_ttrace_vblank_cb, NULL);
        TDM_RETURN_IF_FAIL(ret == TDM_ERROR_NONE);
index 5cfddc75001acfbc50983bbe69f052e584d7ba5e..8678e256f1439063fd46e59c6d0d9a05661717d3 100644 (file)
@@ -90,10 +90,12 @@ extern int tdm_debug_dump;
 #define TDM_TRACE_BEGIN(NAME) traceBegin(TTRACE_TAG_GRAPHICS, "TDM:"#NAME)
 #define TDM_TRACE_END() traceEnd(TTRACE_TAG_GRAPHICS)
 #define TDM_TRACE_COUNT(NAME, COUNT) traceCounter(TTRACE_TAG_GRAPHICS, COUNT, "TDM:"#NAME)
+#define TDM_TRACE_MARK(NAME) traceMark(TTRACE_TAG_GRAPHICS, "TDM:"#NAME)
 #else
 #define TDM_TRACE_BEGIN(NAME)
 #define TDM_TRACE_END()
 #define TDM_TRACE_COUNT(NAME, COUNT)
+#define TDM_TRACE_MARK(NAME)
 #endif
 
 typedef enum {