projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git]
/
src
/
ctf-writer
/
object-pool.h
diff --git
a/src/ctf-writer/object-pool.h
b/src/ctf-writer/object-pool.h
index 0d1ef70ef1a8a669f0d77f5926b204c0853ba06e..64e8477b144a5f79afbb6af2b7577601d51c719b 100644
(file)
--- a/
src/ctf-writer/object-pool.h
+++ b/
src/ctf-writer/object-pool.h
@@
-108,7
+108,7
@@
void *bt_ctf_object_pool_create_object(struct bt_ctf_object_pool *pool)
{
struct bt_ctf_object *obj;
{
struct bt_ctf_object *obj;
- BT_ASSERT(pool);
+ BT_ASSERT
_DBG
(pool);
#ifdef BT_LOGT
BT_LOGT("Creating object from pool: pool-addr=%p, pool-size=%zu, pool-cap=%u",
#ifdef BT_LOGT
BT_LOGT("Creating object from pool: pool-addr=%p, pool-size=%zu, pool-cap=%u",
@@
-150,8
+150,8
@@
void bt_ctf_object_pool_recycle_object(struct bt_ctf_object_pool *pool, void *ob
{
struct bt_ctf_object *bt_obj = obj;
{
struct bt_ctf_object *bt_obj = obj;
- BT_ASSERT(pool);
- BT_ASSERT(obj);
+ BT_ASSERT
_DBG
(pool);
+ BT_ASSERT
_DBG
(obj);
#ifdef BT_LOGT
BT_LOGT("Recycling object: pool-addr=%p, pool-size=%zu, pool-cap=%u, obj-addr=%p",
#ifdef BT_LOGT
BT_LOGT("Recycling object: pool-addr=%p, pool-size=%zu, pool-cap=%u, obj-addr=%p",
This page took
0.031544 seconds
and
4
git commands to generate.