projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make trace IR API const-correct
[babeltrace.git]
/
plugins
/
ctf
/
lttng-live
/
data-stream.c
diff --git
a/plugins/ctf/lttng-live/data-stream.c
b/plugins/ctf/lttng-live/data-stream.c
index b18dda144fc4d005acf4e53357a361c965f2decd..1692715139084bd1c70f0a1b3f7c495faec9e02d 100644
(file)
--- a/
plugins/ctf/lttng-live/data-stream.c
+++ b/
plugins/ctf/lttng-live/data-stream.c
@@
-72,8
+72,8
@@
enum bt_notif_iter_medium_status medop_request_bytes(
}
static
}
static
-struct bt_stream *medop_get_stream(
- struct bt_stream_class *stream_class,
+
const
struct bt_stream *medop_get_stream(
+
const
struct bt_stream_class *stream_class,
uint64_t stream_id, void *data)
{
struct lttng_live_stream_iterator *lttng_live_stream = data;
uint64_t stream_id, void *data)
{
struct lttng_live_stream_iterator *lttng_live_stream = data;
@@
-209,14
+209,14
@@
void lttng_live_stream_iterator_destroy(struct lttng_live_stream_iterator *strea
BT_ASSERT(!ret);
if (stream->stream) {
BT_ASSERT(!ret);
if (stream->stream) {
- BT_
PU
T(stream->stream);
+ BT_
OBJECT_PUT_REF_AND_RESE
T(stream->stream);
}
if (stream->notif_iter) {
bt_notif_iter_destroy(stream->notif_iter);
}
g_free(stream->buf);
}
if (stream->notif_iter) {
bt_notif_iter_destroy(stream->notif_iter);
}
g_free(stream->buf);
- BT_
PU
T(stream->packet_end_notif_queue);
+ BT_
OBJECT_PUT_REF_AND_RESE
T(stream->packet_end_notif_queue);
bt_list_del(&stream->node);
/*
* Ensure we poke the trace metadata in the future, which is
bt_list_del(&stream->node);
/*
* Ensure we poke the trace metadata in the future, which is
This page took
0.024368 seconds
and
4
git commands to generate.