projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize log levels used by logging statements across the project
[babeltrace.git]
/
src
/
lib
/
object-pool.h
diff --git
a/src/lib/object-pool.h
b/src/lib/object-pool.h
index eb7833fd95ac2bdd723f07bbf28bd13f1a37eca2..edfcf82c22dca745f0fbf9d4ecc8781afc89bee2 100644
(file)
--- a/
src/lib/object-pool.h
+++ b/
src/lib/object-pool.h
@@
-122,8
+122,8
@@
void *bt_object_pool_create_object(struct bt_object_pool *pool)
}
/* Pool is empty: create a brand new object */
}
/* Pool is empty: create a brand new object */
-#ifdef BT_LOG
V
- BT_LOG
V
("Pool is empty: allocating new object: pool-addr=%p",
+#ifdef BT_LOG
D
+ BT_LOG
D
("Pool is empty: allocating new object: pool-addr=%p",
pool);
#endif
pool);
#endif
@@
-158,8
+158,8
@@
void bt_object_pool_recycle_object(struct bt_object_pool *pool, void *obj)
if (pool->size == pool->objects->len) {
/* Backing array is full: make place for recycled object */
if (pool->size == pool->objects->len) {
/* Backing array is full: make place for recycled object */
-#ifdef BT_LOG
V
- BT_LOG
V
("Object pool is full: increasing object pool capacity: "
+#ifdef BT_LOG
D
+ BT_LOG
D
("Object pool is full: increasing object pool capacity: "
"pool-addr=%p, old-pool-cap=%u, new-pool-cap=%u",
pool, pool->objects->len, pool->objects->len + 1);
#endif
"pool-addr=%p, old-pool-cap=%u, new-pool-cap=%u",
pool, pool->objects->len, pool->objects->len + 1);
#endif
This page took
0.03788 seconds
and
4
git commands to generate.