From 1a1c3874df33e6f252c62830d29dafa85f3e423e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 17 Oct 2017 17:24:41 -0400 Subject: [PATCH] Add invalid userspace probe location error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/lttng/lttng-error.h | 1 + src/common/error.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/lttng/lttng-error.h b/include/lttng/lttng-error.h index c6c2daec9..457b8ac5d 100644 --- a/include/lttng/lttng-error.h +++ b/include/lttng/lttng-error.h @@ -158,6 +158,7 @@ enum lttng_error_code { LTTNG_ERR_NO_SESSION_OUTPUT = 135, /* Session has no output configured. */ LTTNG_ERR_ROTATION_NOT_AVAILABLE_RELAY = 136, /* Rotate feature not available on the relay. */ LTTNG_ERR_AGENT_TRACING_DISABLED = 137, /* Agent tracing disabled. */ + LTTNG_ERR_PROBE_LOCATION_INVAL = 138, /* Invalid userspace probe location. */ /* MUST be last element */ LTTNG_ERR_NR, /* Last element */ diff --git a/src/common/error.c b/src/common/error.c index b288b90ba..a707fa5bb 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -199,6 +199,7 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_NO_SESSION_OUTPUT) ] = "Session has no output", [ ERROR_INDEX(LTTNG_ERR_ROTATION_NOT_AVAILABLE_RELAY) ] = "Rotation feature not available on the relay", [ ERROR_INDEX(LTTNG_ERR_AGENT_TRACING_DISABLED) ] = "Session daemon agent tracing is disabled", + [ ERROR_INDEX(LTTNG_ERR_PROBE_LOCATION_INVAL) ] = "Invalid userspace probe location", /* Last element */ [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code" -- 2.34.1