[temporary] add debug log in tbm_bo_unmap 55/284455/1 accepted/tizen/unified/20221118.021724
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 17 Nov 2022 09:26:16 +0000 (18:26 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Thu, 17 Nov 2022 09:26:16 +0000 (18:26 +0900)
Change-Id: Ic042223ab48162cebaa70fa76b2f640d018da90d

src/tbm_bo.c

index ca47734..ab69079 100644 (file)
@@ -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);