Add libc errno translation layer to UST error code
[lttng-ust.git] / liblttng-ust-comm / lttng-ust-comm.c
index 8765ea6eee0a109a1231e51b8147b5047749bd72..9a67ea19ea7aef43d80e4558dfeeae4162b42616 100644 (file)
@@ -44,6 +44,10 @@ static const char *ustcomm_readable_code[] = {
        [ USTCOMM_CODE_OFFSET(LTTNG_UST_OK) ] = "Success",
        [ USTCOMM_CODE_OFFSET(LTTNG_UST_ERR) ] = "Unknown error",
        [ USTCOMM_CODE_OFFSET(LTTNG_UST_ERR_NOENT) ] = "No entry",
+       [ USTCOMM_CODE_OFFSET(LTTNG_UST_ERR_EXIST) ] = "Object already exists",
+       [ USTCOMM_CODE_OFFSET(LTTNG_UST_ERR_INVAL) ] = "Invalid argument",
+       [ USTCOMM_CODE_OFFSET(LTTNG_UST_ERR_PERM) ] = "Permission denied",
+       [ USTCOMM_CODE_OFFSET(LTTNG_UST_ERR_NOSYS) ] = "Not implemented",
 };
 
 /*
This page took 0.023142 seconds and 4 git commands to generate.