From: JP Ikaheimonen Date: Mon, 4 Nov 2013 13:32:11 +0000 (+0200) Subject: Add new error codes for exclusion processing X-Git-Tag: v2.4.0-rc1~33 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=fd1f0cde25d3703bfa79fee21e9e5dd433e14d14 Add new error codes for exclusion processing Add new error codes LTTNG_ERR_EXCLUSION_INVAL and LTTNG_ERR_EXCLUSION_NOMEM --- diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index 7631dbcc2..f752fc4ad 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -140,6 +140,8 @@ enum lttng_error_code { LTTNG_ERR_FILTER_NOMEM = 107, /* Lack of memory for filter bytecode */ LTTNG_ERR_FILTER_EXIST = 108, /* Filter already exist */ LTTNG_ERR_NO_CONSUMER = 109, /* No consumer exist for the session */ + LTTNG_ERR_EXCLUSION_INVAL = 110, /* Invalid event exclusion data */ + LTTNG_ERR_EXCLUSION_NOMEM = 111, /* Lack of memory while processing event exclusions */ /* MUST be last element */ LTTNG_ERR_NR, /* Last element */