channel->channel->name,
channel->stream_count);
+ health_code_update(&health_thread_kernel);
+
ret = consumer_send_channel(sock, &lkm);
if (ret < 0) {
goto error;
}
+ health_code_update(&health_thread_kernel);
+
error:
return ret;
}
"metadata",
1);
+ health_code_update(&health_thread_kernel);
+
ret = consumer_send_channel(sock, &lkm);
if (ret < 0) {
goto error;
}
+ health_code_update(&health_thread_kernel);
+
/* Prep stream message structure */
consumer_init_stream_comm_msg(&lkm,
LTTNG_CONSUMER_ADD_STREAM,
pathname,
session->id);
+ health_code_update(&health_thread_kernel);
+
/* Send stream and file descriptor */
ret = consumer_send_stream(sock, consumer, &lkm,
&session->metadata_stream_fd, 1);
goto error;
}
+ health_code_update(&health_thread_kernel);
+
error:
return ret;
}
pathname,
session->id);
+ health_code_update(&health_thread_kernel);
+
/* Send stream and file descriptor */
ret = consumer_send_stream(sock, consumer, &lkm, &stream->fd, 1);
if (ret < 0) {
goto error;
}
+ health_code_update(&health_thread_kernel);
+
error:
return ret;
}
uchan->name,
uchan->streams.count);
+ health_code_update(&health_thread_cmd);
+
ret = consumer_send_channel(sock, &msg);
if (ret < 0) {
goto error;
}
+ health_code_update(&health_thread_cmd);
+
fd = uchan->obj->shm_fd;
ret = consumer_send_fds(sock, &fd, 1);
if (ret < 0) {
goto error;
}
+ health_code_update(&health_thread_cmd);
+
error:
return ret;
}
pathname,
usess->id);
+ health_code_update(&health_thread_cmd);
+
/* Send stream and file descriptor */
fds[0] = stream->obj->shm_fd;
fds[1] = stream->obj->wait_fd;
goto error;
}
+ health_code_update(&health_thread_cmd);
+
error:
return ret;
}
"metadata",
1);
+ health_code_update(&health_thread_cmd);
+
ret = consumer_send_channel(sock, &msg);
if (ret < 0) {
goto error;
}
+ health_code_update(&health_thread_cmd);
+
/* Sending metadata shared memory fd */
fd = usess->metadata->obj->shm_fd;
ret = consumer_send_fds(sock, &fd, 1);
goto error;
}
+ health_code_update(&health_thread_cmd);
+
/* Get correct path name destination */
if (consumer->type == CONSUMER_DST_LOCAL) {
/* Set application path to the destination path */
pathname,
usess->id);
+ health_code_update(&health_thread_cmd);
+
/* Send stream and file descriptor */
fds[0] = usess->metadata->stream_obj->shm_fd;
fds[1] = usess->metadata->stream_obj->wait_fd;
goto error;
}
+ health_code_update(&health_thread_cmd);
+
error:
return ret;
}