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
/
lib
/
trace-ir
/
stream.h
diff --git
a/src/lib/trace-ir/stream.h
b/src/lib/trace-ir/stream.h
index 96985a93ffcc630bcbaeb7e062dad2dc58f97238..e0660efd7861e2df3f2e068a6501c1e9944d14f2 100644
(file)
--- a/
src/lib/trace-ir/stream.h
+++ b/
src/lib/trace-ir/stream.h
@@
-27,7
+27,7
@@
#include <babeltrace2/trace-ir/stream.h>
#include "lib/object.h"
#include "lib/object-pool.h"
#include <babeltrace2/trace-ir/stream.h>
#include "lib/object.h"
#include "lib/object-pool.h"
-#include "common/
babeltrace
.h"
+#include "common/
macros
.h"
#include <glib.h>
#include "utils.h"
#include <glib.h>
#include "utils.h"
@@
-38,6
+38,9
@@
struct bt_stream;
struct bt_stream {
struct bt_object base;
struct bt_stream {
struct bt_object base;
+ /* Owned by this */
+ struct bt_value *user_attributes;
+
/* Owned by this */
struct bt_stream_class *class;
/* Owned by this */
struct bt_stream_class *class;
@@
-68,7
+71,7
@@
void _bt_stream_freeze(const struct bt_stream *stream);
static inline
struct bt_trace *bt_stream_borrow_trace_inline(const struct bt_stream *stream)
{
static inline
struct bt_trace *bt_stream_borrow_trace_inline(const struct bt_stream *stream)
{
- BT_ASSERT(stream);
+ BT_ASSERT
_DBG
(stream);
return (void *) bt_object_borrow_parent(&stream->base);
}
return (void *) bt_object_borrow_parent(&stream->base);
}
This page took
0.024387 seconds
and
4
git commands to generate.