Add context exist error code
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 30 Nov 2011 19:35:19 +0000 (14:35 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Wed, 30 Nov 2011 19:35:19 +0000 (14:35 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
include/lttng-sessiond-comm.h
liblttng-sessiond-comm/lttng-sessiond-comm.c

index 90ff062334c789c30e368b2bb17b48c770f71771..3d31ff842c4f0fcc0015b894b72ff1a7d557b63d 100644 (file)
@@ -134,6 +134,7 @@ enum lttcomm_return_code {
        LTTCOMM_UST_LIST_FAIL,                  /* UST listing events failed */
        LTTCOMM_UST_EVENT_EXIST,        /* UST event exist */
        LTTCOMM_UST_EVENT_NOT_FOUND,    /* UST event not found */
+       LTTCOMM_UST_CONTEXT_EXIST,      /* UST context exist */
 
        CONSUMERD_COMMAND_SOCK_READY,           /* when consumerd command socket ready */
        CONSUMERD_SUCCESS_RECV_FD,              /* success on receiving fds */
index 5fe26f3a09eb69f4a1a53cd0fc6917658fe0d116..3672a83ab98f4e732d8ddcaccbb091f610e49fb1 100644 (file)
@@ -94,6 +94,7 @@ static const char *lttcomm_readable_code[] = {
        [ LTTCOMM_ERR_INDEX(LTTCOMM_UST_LIST_FAIL) ] = "Listing UST events failed",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_UST_EVENT_EXIST) ] = "UST event already exist",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_UST_EVENT_NOT_FOUND)] = "UST event not found",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_UST_CONTEXT_EXIST)] = "UST context already exist",
        [ LTTCOMM_ERR_INDEX(CONSUMERD_COMMAND_SOCK_READY) ] = "consumerd command socket ready",
        [ LTTCOMM_ERR_INDEX(CONSUMERD_SUCCESS_RECV_FD) ] = "consumerd success on receiving fds",
        [ LTTCOMM_ERR_INDEX(CONSUMERD_ERROR_RECV_FD) ] = "consumerd error on receiving fds",
This page took 0.032939 seconds and 4 git commands to generate.