From f7929219c75d63ee7c6d6185f0a3ebc223438aa0 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 17 Oct 2014 22:44:34 -0400 Subject: [PATCH] tracing-the-linux-kernel: move tip after first sudo use Signed-off-by: Philippe Proulx --- .../getting-started/tracing-the-linux-kernel.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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. -- 2.34.1