Add new LTTNG_ERR_OVERFLOW error code
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Mar 2016 21:50:42 +0000 (16:50 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Mar 2016 22:19:42 +0000 (17:19 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/lttng-error.h
src/common/error.c

index 65ec205726c3e23f3ace8e3ac51fcf537acb1803..1030bdfc34f4343d3189f33b1586e323ce2cec92 100644 (file)
@@ -137,6 +137,7 @@ enum lttng_error_code {
        LTTNG_ERR_PID_TRACKED            = 114, /* PID already tracked */
        LTTNG_ERR_PID_NOT_TRACKED        = 115, /* PID not tracked */
        LTTNG_ERR_INVALID_CHANNEL_DOMAIN = 116, /* Invalid channel domain */
+       LTTNG_ERR_OVERFLOW               = 117, /* Overflow occured. */
 
        /* MUST be last element */
        LTTNG_ERR_NR,                           /* Last element */
index 23ee1b5ef4c59130bd695359be4a783e607d864b..c3fde51d4f66990a8e96355f3f764cbb4c6d97a7 100644 (file)
@@ -169,6 +169,7 @@ static const char *error_string_array[] = {
        [ ERROR_INDEX(LTTNG_ERR_PID_TRACKED) ] = "PID already tracked",
        [ ERROR_INDEX(LTTNG_ERR_PID_NOT_TRACKED) ] = "PID not tracked",
        [ ERROR_INDEX(LTTNG_ERR_INVALID_CHANNEL_DOMAIN) ] = "Invalid channel domain",
+       [ ERROR_INDEX(LTTNG_ERR_OVERFLOW) ] = "Overflow occured",
 
        /* Last element */
        [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code"
This page took 0.026251 seconds and 4 git commands to generate.