Add new error codes LTTNG_ERR_EXCLUSION_INVAL and LTTNG_ERR_EXCLUSION_NOMEM

Signed-off-by: JP Ikaheimonen <[email protected]>
---
 include/lttng/lttng-error.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h
index 7631dbc..f752fc4 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 */
-- 
1.8.1.2


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to