From 05eacf533eb90f79f4af43e9cf86cdb3817a00ca Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 13 Jul 2009 18:32:37 -0700 Subject: better logs --- modules/gralloc/mapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/gralloc') diff --git a/modules/gralloc/mapper.cpp b/modules/gralloc/mapper.cpp index 323f5d8..e2caf79 100644 --- a/modules/gralloc/mapper.cpp +++ b/modules/gralloc/mapper.cpp @@ -136,7 +136,7 @@ int gralloc_unregister_buffer(gralloc_module_t const* module, private_handle_t* hnd = (private_handle_t*)handle; LOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, - "handle %p still locked (state=%08x)", + "[unregister] handle %p still locked (state=%08x)", hnd, hnd->lockState); // never unmap buffers that were created in this process @@ -160,7 +160,7 @@ int terminateBuffer(gralloc_module_t const* module, */ LOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, - "handle %p still locked (state=%08x)", + "[terminate] handle %p still locked (state=%08x)", hnd, hnd->lockState); if (hnd->lockState & private_handle_t::LOCK_STATE_MAPPED) { -- cgit v1.1