Update manual pages for 2.0.0-rc1
[babeltrace.git] / doc / man / babeltrace2.1.txt
CommitLineData
2facbdc3 1= babeltrace2(1)
838dd456 2:manpagetype: program
2facbdc3 3:revdate: 14 September 2019
838dd456
PP
4
5
2facbdc3
PP
6== NAME
7
c1f82f3b 8babeltrace2 - Convert or process one or more traces, and more
838dd456
PP
9
10
2facbdc3
PP
11== SYNOPSIS
12
838dd456 13[verse]
2facbdc3
PP
14*babeltrace2* [opt:--debug | opt:--verbose | opt:--log-level='LVL']
15 [opt:--omit-home-plugin-path] [opt:--omit-system-plugin-path]
16 [opt:--plugin-path='PATH'[:__PATH__]...] ['<<commands,CMD>>'] ['CMD ARGS']
17
18
19== DESCRIPTION
20
21`babeltrace2` is an open-source trace converter and processor
22command-line program. The tool can open one or more traces and convert
23between multiple formats, possibly with one or more filters in the
24conversion path, and perform other operations depending on the
25command 'CMD' (see <<commands,``COMMANDS''>>).
838dd456 26
2facbdc3
PP
27[NOTE]
28--
29You might be looking for the man:babeltrace2-convert(1) command's
30manual page; the `convert` command is the default command of
31`babeltrace2` and is backward compatible with man:babeltrace(1).
838dd456 32
2facbdc3
PP
33See <<examples,``EXAMPLES''>> for `convert` command examples.
34--
838dd456 35
2facbdc3 36include::common-see-babeltrace2-intro.txt[]
838dd456 37
2facbdc3
PP
38Most of the `babeltrace2` commands load Babeltrace~2 plugins to
39perform their operation. The search path for Babeltrace~2 plugins
40is, in this order:
838dd456 41
2facbdc3
PP
42. The colon-separated (or semicolon, on Windows) list of directories in
43 the `BABELTRACE_PLUGIN_PATH` environment variable.
838dd456 44
2facbdc3
PP
45. The colon-separated (or semicolon, on Windows) list of directories in
46 the opt:--plugin-path option.
838dd456 47
c1f82f3b 48. `$HOME/.local/lib/babeltrace2/plugins`
838dd456
PP
49
50. +{system_plugin_path}+
51
c1f82f3b 52You can use the man:babeltrace2-list-plugins(1) command to dynamically
2facbdc3
PP
53list the available plugins and what they offer. See
54<<plugins,``PROJECT'S PLUGINS''>> for a list of plugins shipped with
55Babeltrace~2.
838dd456
PP
56
57
2facbdc3 58== OPTIONS
838dd456 59
2facbdc3
PP
60opt:-d::
61opt:--debug::
62 Legacy option: this is equivalent to opt:--log-level=`TRACE`.
63
64opt:-l 'LVL'::
65opt:--log-level='LVL'::
66 Set the log level of all known Babeltrace~2 loggers to 'LVL',
67 including individual components for the man:babeltrace2-convert(1)
68 and man:babeltrace2-run(1) commands.
69+
70You can override the log level of a specific component with the
71nlopt:--log-level option of the man:babeltrace2-convert(1) or
72man:babeltrace2-run(1) commands.
73+
74You can override the log level of the library with the
75`LIBBABELTRACE2_INIT_LOG_LEVEL` environment variable.
76+
77You can override the log level of the CLI with the
78`BABELTRACE_CLI_LOG_LEVEL` environment variable.
79+
80You can override the log level of the Babeltrace~2 Python bindings
81with the `BABELTRACE_PYTHON_BT2_LOG_LEVEL` environment variable.
838dd456
PP
82+
83The available values for 'LVL' are:
84+
85--
2facbdc3 86include::common-log-levels.txt[]
838dd456
PP
87--
88
2facbdc3
PP
89opt:--omit-home-plugin-path::
90 Do not search for plugins in `$HOME/.local/lib/babeltrace2/plugins`.
91
92opt:--omit-system-plugin-path::
93 Do not search for plugins in +{system_plugin_path}+.
94
95opt:--plugin-path='PATH'[:__PATH__]...::
96 Add 'PATH' to the list of paths in which plugins can be found.
97
98opt:-v::
99opt:--verbose::
100 Legacy option: this is equivalent to opt:--log-level=`INFO`.
838dd456 101+
2facbdc3
PP
102If 'CMD' is `convert` or is missing, then this also sets the
103manparam:sink.text.pretty:verbose parameter of the implicit
104compcls:sink.text.pretty component (see
105man:babeltrace2-sink.text.pretty(7)) to true.
106
838dd456 107
2facbdc3
PP
108opt:-h::
109opt:--help::
838dd456
PP
110 Show help and quit.
111
2facbdc3
PP
112opt:-V::
113opt:--version::
838dd456
PP
114 Show version and quit.
115
116
117[[commands]]
2facbdc3
PP
118== COMMANDS
119
838dd456
PP
120The following commands also have their own nlopt:--help option.
121
2facbdc3
PP
122`convert`::
123 Convert one or more traces to a given format, possibly with filters
124 in the conversion path.
125+
126This is the default command: you don't need to explicitly specify this
127command's name to use it.
128+
129This command is backward compatible with the man:babeltrace(1) program.
838dd456 130+
2facbdc3 131See man:babeltrace2-convert(1).
838dd456 132
2facbdc3 133`help`::
838dd456 134 Get help for a specific plugin or plugin's component class.
2facbdc3
PP
135+
136See man:babeltrace2-help(1).
838dd456 137
2facbdc3
PP
138`list-plugins`::
139 List the available Babeltrace~2 plugins and their component
140 classes.
141+
142See man:babeltrace2-list-plugins(1).
838dd456 143
2facbdc3 144`query`::
838dd456 145 Query an object from a component class.
2facbdc3
PP
146+
147See man:babeltrace2-query(1).
838dd456 148
2facbdc3 149`run`::
838dd456 150 Build a trace processing graph and run it.
2facbdc3
PP
151+
152See man:babeltrace2-run(1).
838dd456
PP
153
154
155[[plugins]]
2facbdc3
PP
156== PROJECT'S PLUGINS
157
158The following plugins are provided by the Babeltrace~2 project
159itself.
838dd456 160
c1f82f3b 161man:babeltrace2-plugin-ctf(7)::
838dd456
PP
162 CTF trace input (from the file system and from the LTTng-live
163 protocol) and output to the file system.
164+
2facbdc3
PP
165Component classes:
166+
c1f82f3b
MJ
167* man:babeltrace2-source.ctf.fs(7)
168* man:babeltrace2-source.ctf.lttng-live(7)
2facbdc3 169* man:babeltrace2-sink.ctf.fs(7)
838dd456
PP
170
171ifeval::[{enable_debug_info} == 1]
c1f82f3b 172man:babeltrace2-plugin-lttng-utils(7)::
838dd456
PP
173 Processing graph utilities for LTTng traces.
174+
2facbdc3
PP
175Component class:
176+
c1f82f3b 177* man:babeltrace2-filter.lttng-utils.debug-info(7)
838dd456
PP
178endif::[]
179
c1f82f3b 180man:babeltrace2-plugin-text(7)::
2facbdc3
PP
181 Plain text input and output.
182+
183Component classes:
838dd456 184+
c1f82f3b 185* man:babeltrace2-source.text.dmesg(7)
2facbdc3
PP
186* man:babeltrace2-sink.text.details(7)
187* man:babeltrace2-sink.text.pretty(7)
838dd456 188
c1f82f3b 189man:babeltrace2-plugin-utils(7)::
838dd456
PP
190 Processing graph utilities.
191+
2facbdc3
PP
192Component classes:
193+
c1f82f3b
MJ
194* man:babeltrace2-filter.utils.muxer(7)
195* man:babeltrace2-filter.utils.trimmer(7)
196* man:babeltrace2-sink.utils.counter(7)
197* man:babeltrace2-sink.utils.dummy(7)
838dd456
PP
198
199
2facbdc3
PP
200[[examples]]
201== EXAMPLES
202
203The following examples are the same as the man:babeltrace2-convert(1)
204manual page's examples because `convert` is the default `babeltrace2`
205program's command.
206
207include::common-convert-examples.txt[]
208
209
838dd456
PP
210include::common-cli-env.txt[]
211
2facbdc3 212
838dd456
PP
213include::common-cli-files.txt[]
214
2facbdc3 215
838dd456
PP
216include::common-cmd-footer.txt[]
217
218
2facbdc3
PP
219== SEE ALSO
220
221man:babeltrace2-intro(7),
c1f82f3b
MJ
222man:babeltrace2-convert(1),
223man:babeltrace2-help(1),
224man:babeltrace2-list-plugins(1),
225man:babeltrace2-query(1),
2facbdc3 226man:babeltrace2-run(1)
This page took 0.047772 seconds and 4 git commands to generate.