From: David Goulet Date: Sun, 22 Jan 2012 21:10:03 +0000 (-0500) Subject: New sessiond comm error for kernel version X-Git-Tag: v2.0-pre18~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=394016d17dedc581b892f2ca7889f715c77a08fd;p=lttng-tools.git New sessiond comm error for kernel version Signed-off-by: David Goulet --- diff --git a/src/common/sessiond-comm/sessiond-comm.c b/src/common/sessiond-comm/sessiond-comm.c index 4171b79f2..b005cc713 100644 --- a/src/common/sessiond-comm/sessiond-comm.c +++ b/src/common/sessiond-comm/sessiond-comm.c @@ -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", diff --git a/src/common/sessiond-comm/sessiond-comm.h b/src/common/sessiond-comm/sessiond-comm.h index 10748bbfa..2e9279555 100644 --- a/src/common/sessiond-comm/sessiond-comm.h +++ b/src/common/sessiond-comm/sessiond-comm.h @@ -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 */