From: Philippe Proulx Date: Sat, 18 Oct 2014 02:44:34 +0000 (-0400) Subject: tracing-the-linux-kernel: move tip after first sudo use X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f7929219c75d63ee7c6d6185f0a3ebc223438aa0;p=lttng-docs.git tracing-the-linux-kernel: move tip after first sudo use Signed-off-by: Philippe Proulx --- diff --git a/contents/getting-started/tracing-the-linux-kernel.md b/contents/getting-started/tracing-the-linux-kernel.md index 95a2836..70d0f4b 100644 --- a/contents/getting-started/tracing-the-linux-kernel.md +++ b/contents/getting-started/tracing-the-linux-kernel.md @@ -13,20 +13,21 @@ Git like command line structure: lttng list --kernel +Before tracing, you need to create a session: + +
+sudo lttng create my-session
+
+

Tip:You can avoid using sudo in the previous and following commands if your user is part of the - tracing group. + tracing + group.

-Before tracing, you need to create a session: - -
-sudo lttng create my-session
-
- `my-session` is the tracing session name and could be anything you like. `auto` will be used if omitted.