doc/man: add FILES section
[lttng-tools.git] / doc / man / common-cmd-footer.txt
index cbd3c3913a7baa69c8af1722df10fe517896e945..61f5bb0a1ab29fd0f1aae7fd1b62e3989279b04a 100644 (file)
@@ -16,7 +16,7 @@ ENVIRONMENT VARIABLES
 `LTTNG_SESSIOND_PATH`::
     Full session daemon binary path.
 +
-The option:--sessiond-path option has precedence over this
+The genoption:--sessiond-path option has precedence over this
 environment variable.
 
 Note that the linklttng:lttng-create(1) command can spawn an LTTng
@@ -25,6 +25,35 @@ linklttng:lttng-sessiond(8) for the environment variables influencing
 the execution of the session daemon.
 
 
+FILES
+-----
+`$LTTNG_HOME/.lttngrc`::
+    User LTTng runtime configuration.
++
+This is where the per-user current tracing session is stored between
+executions of linklttng:lttng(1). The current tracing session can be set
+with linklttng:lttng-set-session(1). See linklttng:lttng-create(1) for
+more information about tracing sessions.
+
+`$LTTNG_HOME/lttng-traces`::
+    Default output directory of LTTng traces. This can be overridden
+    with the nloption:--output option of the linklttng:lttng-create(1)
+    command.
+
+`$LTTNG_HOME/.lttng`::
+    User LTTng runtime and configuration directory.
+
+`$LTTNG_HOME/.lttng/sessions`::
+    Default location of saved user tracing sessions (see
+    linklttng:lttng-save(1) and linklttng:lttng-load(1)).
+
+`/etc/lttng/sessions`::
+    System-wide location of saved tracing sessions
+    (see linklttng:lttng-save(1) and linklttng:lttng-load(1)).
+
+NOTE: `$LTTNG_HOME` defaults to `$HOME` when not explicitly set.
+
+
 EXIT STATUS
 -----------
 *0*::
This page took 0.024118 seconds and 4 git commands to generate.