X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=236f21baee25fea33a1d9b4b35ba76796bbf3832;hp=dd1735dd4779094f35dd85c028ce156e488f6754;hb=b178f53e90c376dd44b020535c32649edef8f80e;hpb=20f37cb4bb8799d9493eff17b11055bc81bd7dd3 diff --git a/src/common/error.c b/src/common/error.c index dd1735dd4..236f21bae 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -208,6 +208,8 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_ROTATION_PENDING_RELAY_FAIL_CONSUMER) ] = "Rotation pending check (relay) failure on consumer", [ ERROR_INDEX(LTTNG_ERR_MKDIR_FAIL_CONSUMER) ] = "mkdir failure on consumer", [ ERROR_INDEX(LTTNG_ERR_CHAN_NOT_FOUND) ] = "Channel not found", + [ ERROR_INDEX(LTTNG_ERR_SNAPSHOT_UNSUPPORTED) ] = "Session configuration does not allow the use of snapshots", + [ ERROR_INDEX(LTTNG_ERR_SESSION_NOT_EXIST) ] = "Tracing session does not exist", /* Last element */ [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code"