From a8621b72212889dd024bb39cdb3bab7d54e73e19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 7 Aug 2013 14:58:05 -0400 Subject: [PATCH] Fix: LTTNG_ERR_NEED_ROOT_SESSIOND error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit A root session daemon _and_ "tracing" group user membership are required to trace the kernel. Acked-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- src/common/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/error.c b/src/common/error.c index acfd6c678..42ed06fc8 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -82,7 +82,7 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_UST_EVENT_NOT_FOUND)] = "UST event not found", [ ERROR_INDEX(LTTNG_ERR_UST_CONTEXT_EXIST)] = "UST context already exist", [ ERROR_INDEX(LTTNG_ERR_UST_CONTEXT_INVAL)] = "UST invalid context", - [ ERROR_INDEX(LTTNG_ERR_NEED_ROOT_SESSIOND) ] = "Tracing the kernel requires a root lttng-sessiond daemon or \"tracing\" group user membership", + [ ERROR_INDEX(LTTNG_ERR_NEED_ROOT_SESSIOND) ] = "Tracing the kernel requires a root lttng-sessiond daemon and \"tracing\" group user membership", [ ERROR_INDEX(LTTNG_ERR_TRACE_ALREADY_STARTED) ] = "Tracing already started", [ ERROR_INDEX(LTTNG_ERR_TRACE_ALREADY_STOPPED) ] = "Tracing already stopped", [ ERROR_INDEX(LTTNG_ERR_KERN_EVENT_ENOSYS) ] = "Kernel event type not supported", -- 2.34.1