[lttng-dev] [PATCH lttng-tools] Fix: LTTNG_ERR_NEED_ROOT_SESSIOND error message

David Goulet dgoulet at efficios.com
Thu Aug 8 05:33:16 EDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Merged!

Jérémie Galarneau:
> A root session daemon _and_ "tracing" group user membership are
> required to trace the kernel.
> 
> Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com> 
> --- 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
> acfd6c6..42ed06f 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",
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQEcBAEBCgAGBQJSA2XYAAoJEELoaioR9I02GNgIAJFp3dhyMsZ+ElegJFdboaw9
g3uC7xkHAUV6cSUIsyBLBlVoPGX9KwLr2GZY9mt2Vm2BoOKBtDtLEIgC5ziWe3qi
+xZkLPI+lrur8c2xBaTlexOgKWPxyfVDQLAJL/ggZsUmpDzHC4e2yzJrxgZEXGWx
EHOS7i1gQ+ko3sX5e5Qxy258ij7GzK6x2ygIk9Kq/ERbxuVbm6CrWg1TiJPe6AEz
MGVHLh+u78RxxBlQAJ7+1de/5y1ybAF2ygYkzVxIg8RnVwYM15qQxydp90Qjz1Fq
K5+FWmjg1jBNj5I4GTM1gvbrB5htzmD+ROSEwlPCY4PlEp4nW5wd9rVX3VsBwks=
=UtSN
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list