projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split CTF IR and CTF writer APIs and implementations
[babeltrace.git]
/
lib
/
graph
/
notification
/
stream.c
diff --git
a/lib/graph/notification/stream.c
b/lib/graph/notification/stream.c
index af6156333141a4f5a13e125c517f721217db3a56..84ee483a900361dd00cd1f552b091308ce8e1855 100644
(file)
--- a/
lib/graph/notification/stream.c
+++ b/
lib/graph/notification/stream.c
@@
-55,9
+55,7
@@
struct bt_notification *bt_notification_stream_end_create(
struct bt_stream_class *stream_class;
BT_ASSERT_PRE_NON_NULL(stream, "Stream");
struct bt_stream_class *stream_class;
BT_ASSERT_PRE_NON_NULL(stream, "Stream");
- BT_ASSERT_PRE(stream->pos.fd < 0,
- "Stream is a CTF writer stream: %!+s", stream);
- stream_class = bt_stream_borrow_stream_class(stream);
+ stream_class = bt_stream_borrow_class(stream);
BT_ASSERT(stream_class);
BT_LOGD("Creating stream end notification object: "
"stream-addr=%p, stream-name=\"%s\", "
BT_ASSERT(stream_class);
BT_LOGD("Creating stream end notification object: "
"stream-addr=%p, stream-name=\"%s\", "
@@
-123,9
+121,7
@@
struct bt_notification *bt_notification_stream_begin_create(
struct bt_stream_class *stream_class;
BT_ASSERT_PRE_NON_NULL(stream, "Stream");
struct bt_stream_class *stream_class;
BT_ASSERT_PRE_NON_NULL(stream, "Stream");
- BT_ASSERT_PRE(stream->pos.fd < 0,
- "Stream is a CTF writer stream: %!+s", stream);
- stream_class = bt_stream_borrow_stream_class(stream);
+ stream_class = bt_stream_borrow_class(stream);
BT_ASSERT(stream_class);
BT_LOGD("Creating stream beginning notification object: "
"stream-addr=%p, stream-name=\"%s\", "
BT_ASSERT(stream_class);
BT_LOGD("Creating stream beginning notification object: "
"stream-addr=%p, stream-name=\"%s\", "
This page took
0.02308 seconds
and
4
git commands to generate.