lttng-load(1): specify default search order
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 4 May 2016 15:19:32 +0000 (11:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 15 May 2016 16:58:05 +0000 (12:58 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
doc/man/lttng-load.1.txt

index b0241b61cb6ba2df0d670c374786b0b14d6c44dc..1435defbdd70144067cb77467627e92f63254371 100644 (file)
@@ -27,9 +27,16 @@ and more.
 Once one or more tracing session configurations are loaded, they appear
 exactly as they were saved from the user's point of view.
 
-The default input path is `$LTTNG_HOME/.lttng/sessions`
-(`$LTTNG_HOME` defaults to `$HOME`). The input path can be
-overridden with the option:--input-path option.
+The following directories are searched, non-recursively, in this order
+for configuration files:
+
+. `$LTTNG_HOME/.lttng/sessions` (`$LTTNG_HOME` defaults to `$HOME`)
+. +{system_sessions_dir}+
+
+The input path can be overridden with the option:--input-path option.
+When this option is specified, the default directories are :not:
+searched for configuration files. When it's not specified, _both_
+default directories are searched for configuration files.
 
 If the input path is a directory, then if 'SESSION' is specified, the
 tracing session configuration named 'SESSION' is searched in all the
@@ -57,8 +64,9 @@ option:-f, option:--force::
     Overwrite existing tracing sessions when loading.
 
 option:-i, option:--input-path='PATH'::
-    Set input path to 'PATH', either a directory or a file, in which
-    tracing session configurations are searched for.
+    Load tracing session configurations from 'PATH', either a directory
+    or a file, instead of loading them from the default search
+    directories.
 
 
 include::common-cmd-help-options.txt[]
This page took 0.026779 seconds and 5 git commands to generate.