X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fclient.cpp;h=7f3c81782d50c3ed7e9812aacbcaed41dbcaf3ef;hb=48b7cdc221a445188d6d9bd08fc1686837e71224;hp=0820bca7690c6bd116ddad5c5e42ecedff3f3576;hpb=21cf9b6b1843774306a76f4dccddddd706b64f79;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/client.cpp b/src/bin/lttng-sessiond/client.cpp index 0820bca76..7f3c81782 100644 --- a/src/bin/lttng-sessiond/client.cpp +++ b/src/bin/lttng-sessiond/client.cpp @@ -416,8 +416,6 @@ error: * Copy consumer output from the tracing session to the domain session. The * function also applies the right modification on a per domain basis for the * trace files destination directory. - * - * Should *NOT* be called with RCU read-side lock held. */ static int copy_session_consumer(int domain, struct ltt_session *session) { @@ -481,8 +479,6 @@ error: /* * Create an UST session and add it to the session ust list. - * - * Should *NOT* be called with RCU read-side lock held. */ static int create_ust_session(struct ltt_session *session, const struct lttng_domain *domain) @@ -919,8 +915,6 @@ end: * "sock" is only used for special-case var. len data. * A command may assume the ownership of the socket, in which case its value * should be set to -1. - * - * Should *NOT* be called with RCU read-side lock held. */ static int process_client_msg(struct command_ctx *cmd_ctx, int *sock, int *sock_error) @@ -934,8 +928,6 @@ static int process_client_msg(struct command_ctx *cmd_ctx, int *sock, lttcomm_sessiond_command_str((lttcomm_sessiond_command) cmd_ctx->lsm.cmd_type), cmd_ctx->lsm.cmd_type); - LTTNG_ASSERT(!rcu_read_ongoing()); - *sock_error = 0; switch (cmd_ctx->lsm.cmd_type) {