New sessiond comm error for kernel version
authorDavid Goulet <dgoulet@efficios.com>
Sun, 22 Jan 2012 21:10:03 +0000 (16:10 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Sun, 22 Jan 2012 21:10:03 +0000 (16:10 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/sessiond-comm/sessiond-comm.c
src/common/sessiond-comm/sessiond-comm.h

index 4171b79f2ea2a9e44e09f11ee32c2cd8db3d2fd5..b005cc71306eab9d5fa5cb6b8fb0e16e0fb6ce4d 100644 (file)
@@ -57,6 +57,7 @@ static const char *lttcomm_readable_code[] = {
        [ LTTCOMM_ERR_INDEX(LTTCOMM_APP_NOT_FOUND) ] = "Application not found",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_EPERM) ] = "Permission denied",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_KERN_NA) ] = "Kernel tracer not available",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_KERN_VERSION) ] = "Kernel tracer version is not compatible",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_KERN_EVENT_EXIST) ] = "Kernel event already exists",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_KERN_SESS_FAIL) ] = "Kernel create session failed",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_KERN_CHAN_FAIL) ] = "Kernel create channel failed",
index 10748bbfa29b5495dfc09ddca6538290a804b4e9..2e927955594c286ecd4bbd7ca2bae0137b3874a1 100644 (file)
@@ -92,6 +92,7 @@ enum lttcomm_return_code {
        LTTCOMM_APP_NOT_FOUND,          /* App not found in traceable app list */
        LTTCOMM_EPERM,                  /* Permission denied */
        LTTCOMM_KERN_NA,                                /* Kernel tracer unavalable */
+       LTTCOMM_KERN_VERSION,           /* Kernel tracer version is not compatible */
        LTTCOMM_KERN_EVENT_EXIST,       /* Kernel event already exists */
        LTTCOMM_KERN_SESS_FAIL,                 /* Kernel create session failed */
        LTTCOMM_KERN_CHAN_FAIL,                 /* Kernel create channel failed */
This page took 0.025985 seconds and 4 git commands to generate.