X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fust-ctl.c;fp=ltt-sessiond%2Fust-ctl.c;h=7f70b8975b5d963dfd890b22d14c13c9817e9ef0;hp=2f43b1e60316435e8bfcdcb6989c90fb1095d370;hb=f158a754906b7c657d64db23c506c6648773bc92;hpb=00a17c9765c3ecf1fb8e4e6fefd5547c60abcd72 diff --git a/ltt-sessiond/ust-ctl.c b/ltt-sessiond/ust-ctl.c index 2f43b1e60..7f70b8975 100644 --- a/ltt-sessiond/ust-ctl.c +++ b/ltt-sessiond/ust-ctl.c @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include "ust-comm.h" @@ -47,8 +47,8 @@ int ustctl_register_done(int sock) goto error; } - if (reply->ret_code != LTTCOMM_OK) { - DBG("Return code: %s", lttcomm_get_readable_code(reply->ret_code)); + if (reply->ret_code != USTCOMM_OK) { + DBG("Return code: %s", ustcomm_get_readable_code(reply->ret_code)); goto error; } @@ -74,8 +74,8 @@ int ustctl_create_session(int sock, struct ltt_ust_session *session) goto error; } - if (reply->ret_code != LTTCOMM_OK) { - DBG("Return code: %s", lttcomm_get_readable_code(reply->ret_code)); + if (reply->ret_code != USTCOMM_OK) { + DBG("Return code: %s", ustcomm_get_readable_code(reply->ret_code)); goto error; } @@ -119,9 +119,9 @@ int ustctl_create_channel(int sock, struct ltt_ust_session *session, goto error; } - if (reply->ret_code != LTTCOMM_OK) { + if (reply->ret_code != USTCOMM_OK) { DBG("Return code (%d): %s", reply->ret_code, - lttcomm_get_readable_code(reply->ret_code)); + ustcomm_get_readable_code(reply->ret_code)); goto error; } @@ -159,9 +159,9 @@ int ustctl_enable_channel(int sock, struct ltt_ust_session *session, goto error; } - if (reply->ret_code != LTTCOMM_OK) { + if (reply->ret_code != USTCOMM_OK) { DBG("Return code (%d): %s", reply->ret_code, - lttcomm_get_readable_code(reply->ret_code)); + ustcomm_get_readable_code(reply->ret_code)); goto error; } else if (reply->handle != chan->handle) { ERR("Receive wrong handle from UST reply on enable channel"); @@ -198,9 +198,9 @@ int ustctl_disable_channel(int sock, struct ltt_ust_session *session, goto error; } - if (reply->ret_code != LTTCOMM_OK) { + if (reply->ret_code != USTCOMM_OK) { DBG("Return code (%d): %s", reply->ret_code, - lttcomm_get_readable_code(reply->ret_code)); + ustcomm_get_readable_code(reply->ret_code)); goto error; } else if (reply->handle != chan->handle) { ERR("Receive wrong handle from UST reply on enable channel");