X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=f7e11e163fbdd9eabe76badf662faa7bee7d2321;hp=c3fde51d4f66990a8e96355f3f764cbb4c6d97a7;hb=a3eae3c98f047a8e795a01471adf8f4f7563947b;hpb=7d8829fd67c56102436f3e1e16d652f23076ed86 diff --git a/src/common/error.c b/src/common/error.c index c3fde51d4..f7e11e163 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -170,6 +170,10 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_PID_NOT_TRACKED) ] = "PID not tracked", [ ERROR_INDEX(LTTNG_ERR_INVALID_CHANNEL_DOMAIN) ] = "Invalid channel domain", [ ERROR_INDEX(LTTNG_ERR_OVERFLOW) ] = "Overflow occured", + [ ERROR_INDEX(LTTNG_ERR_SESSION_NOT_STARTED) ] = "Session not started", + [ ERROR_INDEX(LTTNG_ERR_LIVE_SESSION) ] = "Live sessions are not supported", + [ ERROR_INDEX(LTTNG_ERR_PER_PID_SESSION) ] = "Per-PID tracing sessions are not supported", + [ ERROR_INDEX(LTTNG_ERR_KERN_CONTEXT_UNAVAILABLE) ] = "Context unavailable on this kernel", /* Last element */ [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code"