X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=0a3b5b3e11b83050e3d9e6bf794dfe0e393badc0;hb=a79d84dd6bf849361c34616ae9f60786c6a6bf20;hp=d5403d804d5c9dc658fcff946a1e74c074bf97a5;hpb=32dd26fbc3c69fe677a7917535e10ace066e674c;p=lttng-tools.git diff --git a/src/common/error.c b/src/common/error.c index d5403d804..0a3b5b3e1 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -98,6 +98,9 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_FILTER_NOMEM) ] = "Not enough memory for filter bytecode", [ ERROR_INDEX(LTTNG_ERR_FILTER_EXIST) ] = "Filter already exist", [ ERROR_INDEX(LTTNG_ERR_NO_CONSUMER) ] = "Consumer not found for tracing session", + [ ERROR_INDEX(LTTNG_ERR_NO_SESSIOND) ] = "No session daemon is available", + [ ERROR_INDEX(LTTNG_ERR_SESSION_STARTED) ] = "Session is running", + [ ERROR_INDEX(LTTNG_ERR_NOT_SUPPORTED) ] = "Operation not supported", /* Last element */ [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code"