From 67fca7109e3e43a58d0fd84def66dfcdc7167b56 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Thu, 17 Nov 2022 18:26:16 +0900 Subject: [PATCH] [temporary] add debug log in tbm_bo_unmap Change-Id: Ic042223ab48162cebaa70fa76b2f640d018da90d --- src/tbm_bo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tbm_bo.c b/src/tbm_bo.c index ca47734..ab69079 100644 --- a/src/tbm_bo.c +++ b/src/tbm_bo.c @@ -34,6 +34,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "tbm_bufmgr_int.h" #include "list.h" +#undef LOG_TAG +#define LOG_TAG "TBM" + /* check condition */ #define TBM_BO_RETURN_IF_FAIL(cond) {\ if (!(cond)) {\ @@ -398,6 +401,8 @@ tbm_bo_unmap(tbm_bo bo) { tbm_error_e error; + SLOGD("bo(%p) unmap", bo); + _tbm_bufmgr_mutex_lock(); _tbm_set_last_result(TBM_ERROR_NONE); -- 2.7.4