projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b995c1
)
add TBM_DEBUG macro and put the prefix string at tbm log.
36/54036/1
author
SooChan Lim
<sc1.lim@samsung.com>
Fri, 11 Dec 2015 02:59:49 +0000
(11:59 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Fri, 11 Dec 2015 02:59:49 +0000
(11:59 +0900)
Change-Id: Ia503e75da540533978333c1ec3bc3e48848c6307
src/tbm_bufmgr_int.h
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr_int.h
b/src/tbm_bufmgr_int.h
old mode 100644
(file)
new mode 100755
(executable)
index
f589afe
..
965da8d
--- a/
src/tbm_bufmgr_int.h
+++ b/
src/tbm_bufmgr_int.h
@@
-97,7
+97,8
@@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define TBM_LOCK_CTRL_BACKEND_VALID(flags) \
(flags&TBM_LOCK_CTRL_BACKEND)
-#define TBM_LOG(...) fprintf (stderr, __VA_ARGS__)
+#define TBM_DEBUG(fmt, ...) fprintf (stderr, "[TBM:DEBUG] " fmt, ##__VA_ARGS__)
+#define TBM_LOG(fmt, ...) fprintf (stderr, "[TBM:%s] " fmt, __func__, ##__VA_ARGS__)
typedef union _tbm_bo_cache_state tbm_bo_cache_state;