[lttng-dev] [PATCH lttng-tools] Fix: add missing enum lttcomm_return_code entries
David Goulet
dgoulet at efficios.com
Thu Jul 4 12:26:19 EDT 2013
Merged!
Mathieu Desnoyers:
> Those should not appear as unknown.
>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> ---
> diff --git a/src/common/sessiond-comm/sessiond-comm.c b/src/common/sessiond-comm/sessiond-comm.c
> index 64223df..738362c 100644
> --- a/src/common/sessiond-comm/sessiond-comm.c
> +++ b/src/common/sessiond-comm/sessiond-comm.c
> @@ -61,6 +61,9 @@ static const char *lttcomm_readable_code[] = {
> [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_SPLICE_EINVAL) ] = "consumerd splice EINVAL",
> [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_SPLICE_ENOMEM) ] = "consumerd splice ENOMEM",
> [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_SPLICE_ESPIPE) ] = "consumerd splice ESPIPE",
> + [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_ENOMEM) ] = "Consumer is out of memory",
> + [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_ERROR_METADATA) ] = "Error with metadata",
> + [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_FATAL) ] = "Fatal error",
>
> /* Last element */
> [ LTTCOMM_ERR_INDEX(LTTCOMM_NR) ] = "Unknown error code"
>
More information about the lttng-dev
mailing list