From b725b2877607d048e4f8ae0e34e65a3453c89a7d Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Mon, 22 May 2023 15:40:03 +0900 Subject: [PATCH] e_comp_wl: add ttrace between idle exiter and cb prepare Change-Id: I36dd35e333c299b55c38d5b37ba0fe6913d69cb8 --- src/bin/e_comp_wl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 37e0e7c..9774444 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -242,6 +242,9 @@ _e_comp_wl_cb_idle_exiter(void *data EINA_UNUSED) { e_comp_wl->idle_exiter_timestamp = ecore_time_get() * 1000; + TRACE_DS_ASYNC_BEGIN((intptr_t)&e_comp_wl->idle_exiter_timestamp, + IDLE_EXITER~CB_PREPARE); + return ECORE_CALLBACK_RENEW; } @@ -273,6 +276,9 @@ _e_comp_wl_cb_prepare(void *data EINA_UNUSED, Ecore_Fd_Handler *hdlr EINA_UNUSED /* flush pending client events */ wl_display_flush_clients(e_comp_wl->wl.disp); + + TRACE_DS_ASYNC_END((intptr_t)&e_comp_wl->idle_exiter_timestamp, + IDLE_EXITER~CB_PREPARE); } E_API enum wl_output_transform -- 2.7.4