X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-consumer.c;h=ea9c8570353501ec86cb8ef7335a593bd7cf7ccb;hb=927ca06aed61ff6dd3f64ae71854f2d7f9acebe5;hp=e804f4b5ac74284c1c3b0b9ea23a9317b505649f;hpb=ca03de585e016f441dfe373420545a6fb047531a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-consumer.c b/src/bin/lttng-sessiond/ust-consumer.c index e804f4b5a..ea9c85703 100644 --- a/src/bin/lttng-sessiond/ust-consumer.c +++ b/src/bin/lttng-sessiond/ust-consumer.c @@ -83,7 +83,7 @@ error: */ static int send_channel_stream(struct consumer_socket *sock, struct ust_app_channel *uchan, struct ust_app_session *usess, - struct ltt_ust_stream *stream, struct consumer_output *consumer, + struct ust_app_stream *stream, struct consumer_output *consumer, const char *pathname) { int ret, fds[2]; @@ -140,7 +140,7 @@ static int send_channel_streams(struct consumer_socket *sock, int ret; char tmp_path[PATH_MAX]; const char *pathname; - struct ltt_ust_stream *stream, *tmp; + struct ust_app_stream *stream, *tmp; assert(sock); @@ -227,7 +227,7 @@ static int send_metadata(struct consumer_socket *sock, usess->metadata->obj->shm_fd, usess->metadata->attr.subbuf_size, usess->metadata->obj->memory_map_size, - "metadata", + DEFAULT_METADATA_NAME, 1); health_code_update(&health_thread_cmd); @@ -289,7 +289,7 @@ static int send_metadata(struct consumer_socket *sock, usess->gid, consumer->net_seq_index, 1, /* Flag metadata set */ - "metadata", + DEFAULT_METADATA_NAME, pathname, usess->id);