From: Jérémie Galarneau Date: Tue, 17 Oct 2017 21:24:41 +0000 (-0400) Subject: Add invalid userspace probe location error X-Git-Tag: v2.11.0-rc1~92 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1a1c3874df33e6f252c62830d29dafa85f3e423e;p=lttng-tools.git Add invalid userspace probe location error Signed-off-by: Jérémie Galarneau --- 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"