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
/
stream.h
diff --git
a/src/ctf-writer/stream.h
b/src/ctf-writer/stream.h
index 253fb60685122e8e74840c6ff0f116c96e7a37c0..7cf0e620a20d005834e3f36017316c28cecba9aa 100644
(file)
--- a/
src/ctf-writer/stream.h
+++ b/
src/ctf-writer/stream.h
@@
-30,7
+30,7
@@
#include "common/assert.h"
#include "common/macros.h"
#include "common/assert.h"
#include "common/macros.h"
-#include <babeltrace2
/
ctf-writer/stream.h>
+#include <babeltrace2
-
ctf-writer/stream.h>
#include "ctfser/ctfser.h"
#include <stdint.h>
#include "ctfser/ctfser.h"
#include <stdint.h>
@@
-61,7
+61,7
@@
static inline
struct bt_ctf_stream_class_common *bt_ctf_stream_common_borrow_class(
struct bt_ctf_stream_common *stream)
{
struct bt_ctf_stream_class_common *bt_ctf_stream_common_borrow_class(
struct bt_ctf_stream_common *stream)
{
- BT_ASSERT(stream);
+ BT_ASSERT
_DBG
(stream);
return stream->stream_class;
}
return stream->stream_class;
}
@@
-80,7
+80,7
@@
int64_t bt_ctf_stream_common_get_id(struct bt_ctf_stream_common *stream)
BT_CTF_ASSERT_PRE_NON_NULL(stream, "Stream");
ret = stream->id;
if (ret < 0) {
BT_CTF_ASSERT_PRE_NON_NULL(stream, "Stream");
ret = stream->id;
if (ret < 0) {
- BT_LOG
V
("Stream's ID is not set: addr=%p, name=\"%s\"",
+ BT_LOG
T
("Stream's ID is not set: addr=%p, name=\"%s\"",
stream, bt_ctf_stream_common_get_name(stream));
}
stream, bt_ctf_stream_common_get_name(stream));
}
This page took
0.02503 seconds
and
4
git commands to generate.