Update the remaining manual pages for LTTng-tools 2.13
[lttng-tools.git] / doc / man / lttng-load.1.txt
... / ...
CommitLineData
1lttng-load(1)
2=============
3:revdate: 30 April 2021
4
5
6NAME
7----
8lttng-load - Load LTTng tracing session configurations
9
10
11SYNOPSIS
12--------
13[verse]
14*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *load* [option:--force] [option:--input-path='PATH']
15 [option:--override-url='URL'] [option:--all | 'SESSION' [option:--override-name='NAME']]
16
17
18DESCRIPTION
19-----------
20The `lttng load` command loads the configurations of one or more
21tracing sessions from files.
22
23See man:lttng-concepts(7) to learn more about tracing sessions.
24
25Use the `load` command in conjunction with the man:lttng-save(1) command
26to save and restore the complete configurations of tracing sessions. A
27tracing session configuration includes the enabled channels and
28recording event rules, the context fields to be recorded, the tracing
29activity, and more.
30
31Once LTTng loads one or more tracing session configurations, they appear
32exactly as they were saved from the user's point of view.
33
34LTTng searches the following directories, non-recursively, in this order
35for tracing session configuration files:
36
37. `$LTTNG_HOME/.lttng/sessions` (`$LTTNG_HOME` defaults to `$HOME`)
38. +{system_sessions_dir}+
39
40Override the input path with the option:--input-path='PATH' option. With
41this option, LTTng does :not: search the default directories above.
42'PATH' can be the path of one of:
43
44A directory::
45 With the 'SESSION' argument:::
46 LTTng searches for the tracing session configuration named
47 'SESSION' in all the files of the directory 'PATH' and loads it
48 if found.
49
50 Without the 'SESSION' argument:::
51 The option:--all option is implicit: LTTng loads all the tracing
52 session configurations found in all the files in the directory
53 'PATH'.
54
55A file::
56 With the 'SESSION' argument:::
57 LTTng searches for the tracing session configuration named
58 'SESSION' in the file 'PATH' and loads it if found.
59
60 Without the 'SESSION' argument:::
61 The option:--all option is implicit: LTTng loads all the tracing
62 session configurations found in the file 'PATH'.
63
64Override the output URL of the loaded tracing session configurations
65with the option:--override-url option.
66
67With the 'SESSION' argument, override the name of the loaded tracing
68session configuration with the option:--override-name option.
69
70By default, the `load` command does :not: overwrite existing tracing
71sessions: the command fails. Allow the `load` command to overwrite
72existing tracing sessions with the option:--force option.
73
74
75include::common-cmd-options-head.txt[]
76
77
78option:-a, option:--all::
79 Load all the tracing session configurations (default).
80
81option:-f, option:--force::
82 Overwrite existing tracing sessions when loading.
83
84option:-i 'PATH', option:--input-path='PATH'::
85 Load tracing session configurations from 'PATH', either a directory
86 or a file, instead of loading them from the default search
87 directories.
88
89option:--override-name='NAME'::
90 Override the name of the loaded tracing session configuration,
91 'SESSION', with 'NAME'.
92
93option:--override-url='URL'::
94 Override the output URL of the loaded tracing session configurations
95 with 'URL'.
96+
97This is the equivalent of the nloption:--set-url option of
98man:lttng-create(1). The validity of the URL override depends on the
99type of tracing session configurations to load. This option applies to
100_all_ the loaded tracing session configurations.
101
102
103include::common-cmd-help-options.txt[]
104
105
106include::common-cmd-footer.txt[]
107
108
109SEE ALSO
110--------
111man:lttng(1),
112man:lttng-concepts(7),
113man:lttng-save(1)
This page took 0.050218 seconds and 4 git commands to generate.