BABELTRACE2-HELP(1)
π babeltrace2-help β get the tea on a Babeltrace 2 plugin or component class π
okay so bestie, welcome to BABELTRACE2-HELP(1), aka the page that lives in the Babeltrace 2 manual and tells you how to ask babeltrace2 to spill the details about a plugin or a component class. it's giving "please explain yourself" but make it Unix. π«Ά
β¨ NAME β¨
babeltrace2-help β get help for a Babeltrace 2 plugin or component class
πΈ SYNOPSIS πΈ
so there's two ways to pull this off, and honestly both ate:
get help for a Babeltrace 2 plugin:
babeltrace2 [GENERAL OPTIONS] help PLUGIN-NAME
get help for a Babeltrace 2 component class:
babeltrace2 [GENERAL OPTIONS] help
COMP-CLS-TYPE.PLUGIN-NAME.COMP-CLS-NAME
π¦ DESCRIPTION π¦
the help command prints the details and help text of either:
- the Babeltrace 2 plugin named
PLUGIN-NAME, or - the specific component class of type
COMP-CLS-TYPEnamedCOMP-CLS-NAMEthat lives inside the plugin namedPLUGIN-NAME.
if you wanna actually understand the Babeltrace 2 project and its core concepts (main character lore, fr fr), go read babeltrace2-intro(7). π
the available values for COMP-CLS-TYPE are, and yes you can use either spelling:
source,srcβ source component class.filter,fltβ filter component class.sinkβ sink component class.
peep βEXAMPLESβ below for usage examples, i promise they're cute. β¨
π OPTIONS π
General π
you can use these options before the command name, like a little pre-game. see babeltrace2(1) for more details.
-d,--debugβ legacy option, babes: this is equivalent to--log-level=TRACE.-lLVL,--log-level=LVLβ set the log level of all known Babeltrace 2 loggers toLVL.--omit-home-plugin-pathβ don't search for plugins in$HOME/.local/lib/babeltrace2/plugins.--omit-system-plugin-pathβ don't search for plugins in/usr/local/lib/babeltrace2/plugins.--plugin-path=PATH[:PATH]...β addPATHto the list of paths in which plugins can be found.-v,--verboseβ legacy option: this is equivalent to--log-level=INFO.
Command information π
-h,--helpβ show the command help and quit. the classic "wait what does this do again" move.
π EXAMPLES π
Example 1. Get help for a plugin and all its component classes.
$ babeltrace2 help ctf
Example 2. Get help for a specific source component class.
$ babeltrace2 help source.ctf.fs
Example 3. Get help for a specific sink component class.
$ babeltrace2 help sink.text.pretty
π§ ENVIRONMENT VARIABLES π§
Babeltrace 2 library π
BABELTRACE_EXEC_ON_ABORT=CMDLINEβ execute the command lineCMDLINE, as parsed like a UNIX 98 shell, when any part of the Babeltrace 2 project unexpectedly aborts.
the application only aborts when the executed command returns, ignoring its exit status.
this environment variable is ignored when the application has thesetuidor thesetgidaccess right flag set.
BABELTRACE_TERM_COLOR=(AUTO | NEVER | ALWAYS)β force the terminal color support for thebabeltrace2(1)program and the project plugins.
the available values are:
AUTOβ only emit terminal color codes when the standard output and error streams are connected to a color-capable terminal.NEVERβ never emit terminal color codes. (sad, muted, grayscale energy π)ALWAYSβ always emit terminal color codes. (rainbow mode, no off switch π)
BABELTRACE_TERM_COLOR_BRIGHT_MEANS_BOLD=0β set to0to emit SGR (see <https://en.wikipedia.org/wiki/ANSI_escape_code>) codes90to97for bright colors instead of bold (SGR code1) and standard color codes (SGR codes30to37).BABELTRACE_PLUGIN_PATH=PATHSβ set the list of directories, in order, in which dynamic plugins can be found before other directories are considered toPATHS(colon-separated, or semicolon on Windows).LIBBABELTRACE2_DISABLE_PYTHON_PLUGINS=1β disable the loading of any Babeltrace 2 Python plugin.LIBBABELTRACE2_INIT_LOG_LEVEL=LVLβ force the initial log level of the Babeltrace 2 library to beLVL.
if this environment variable is set, then it overrides the log level set by the --log-level option for the Babeltrace 2 library logger.
the available values for LVL are:
NONE,Nβ logging is disabled.FATAL,Fβ severe errors that lead the execution to abort immediately. this level should be enabled in production.ERROR,Eβ errors that might still allow the execution to continue. usually, once one or more errors are reported at this level, the application, plugin, or library won't perform any more useful task, but it should still exit cleanly. this level should be enabled in production.WARN,WARNING,Wβ unexpected situations which still allow the execution to continue. this level should be enabled in production.INFO,Iβ informational messages that highlight progress or important states of the application, plugins, or library. this level can be enabled in production.DEBUG,Dβ debugging information, with a higher level of details than theTRACElevel. this level should NOT be enabled in production.TRACE,Tβ low-level debugging context information. this level should NOT be enabled in production.
LIBBABELTRACE2_NO_DLCLOSE=1β make the Babeltrace 2 library leave any dynamically loaded modules (plugins and plugin providers) open at exit. this can be useful for debugging purposes.LIBBABELTRACE2_PLUGIN_PROVIDER_DIR=DIRβ set the directory from which the Babeltrace 2 library dynamically loads plugin provider shared objects toDIR.
if this environment variable is set, then it overrides the default plugin provider directory.
Babeltrace 2 Python bindings π
BABELTRACE_PYTHON_BT2_LOG_LEVEL=LVLβ force the Babeltrace 2 Python bindings log level to beLVL.
if this environment variable is set, then it overrides the log level set by the --log-level option for the Python bindings logger.
the available values for LVL are:
NONE,Nβ logging is disabled.FATAL,Fβ severe errors that lead the execution to abort immediately. this level should be enabled in production.ERROR,Eβ errors that might still allow the execution to continue. usually, once one or more errors are reported at this level, the application, plugin, or library won't perform any more useful task, but it should still exit cleanly. this level should be enabled in production.WARN,WARNING,Wβ unexpected situations which still allow the execution to continue. this level should be enabled in production.INFO,Iβ informational messages that highlight progress or important states of the application, plugins, or library. this level can be enabled in production.DEBUG,Dβ debugging information, with a higher level of details than theTRACElevel. this level should NOT be enabled in production.TRACE,Tβ low-level debugging context information. this level should NOT be enabled in production.
CLI π»
BABELTRACE_CLI_LOG_LEVEL=LVLβ force the log level of the log level babeltrace2 CLI to beLVL.
if this environment variable is set, then it overrides the log level set by the --log-level option for the CLI logger.
the available values for LVL are:
NONE,Nβ logging is disabled.FATAL,Fβ severe errors that lead the execution to abort immediately. this level should be enabled in production.ERROR,Eβ errors that might still allow the execution to continue. usually, once one or more errors are reported at this level, the application, plugin, or library won't perform any more useful task, but it should still exit cleanly. this level should be enabled in production.WARN,WARNING,Wβ unexpected situations which still allow the execution to continue. this level should be enabled in production.INFO,Iβ informational messages that highlight progress or important states of the application, plugins, or library. this level can be enabled in production.DEBUG,Dβ debugging information, with a higher level of details than theTRACElevel. this level should NOT be enabled in production.TRACE,Tβ low-level debugging context information. this level should NOT be enabled in production.
BABELTRACE_CLI_WARN_COMMAND_NAME_DIRECTORY_CLASH=0β disable the warning message whichbabeltrace2-convert(1)prints when you convert a trace with a relative path that's also the name of ababeltrace2command.BABELTRACE_DEBUG=1β legacy variable: equivalent to setting the--log-leveloption toTRACE.BABELTRACE_VERBOSE=1β legacy variable: equivalent to setting the--log-leveloption toINFO.
πΈ FILES πΈ
$HOME/.local/lib/babeltrace2/pluginsβ user plugin directory./usr/local/lib/babeltrace2/pluginsβ system plugin directory./usr/local/lib/babeltrace2/plugin-providersβ system plugin provider directory.
β EXIT STATUS β
0 on success, 1 otherwise. that's it, that's the whole vibe check.
π BUGS π
if you encounter any issue or usability problem, please report it on the Babeltrace bug tracker (see <https://bugs.lttng.org/projects/babeltrace>). bestie we want your bug reports, no gatekeeping π
π₯ RESOURCES π₯
the Babeltrace project shares some communication channels with the LTTng project (see <https://lttng.org/>).
- Babeltrace website (see <https://babeltrace.org/>)
- Mailing list (see <https://lists.lttng.org>) for support and development:
lttng-dev@lists.lttng.org - IRC channel (see <irc://irc.oftc.net/lttng>):
#lttngonirc.oftc.net - Bug tracker (see <https://bugs.lttng.org/projects/babeltrace>)
- Git repository (see <https://git.efficios.com/?p=babeltrace.git>)
- GitHub project (see <https://github.com/efficios/babeltrace>)
- Continuous integration (see <https://ci.lttng.org/view/Babeltrace/>)
- Code review (see <https://review.lttng.org/q/project:babeltrace>)
π AUTHORS π
the Babeltrace 2 project is the result of hard work by many regular developers and occasional contributors. (iconic behavior tbh π )
the current project maintainer is JΓ©rΓ©mie Galarneau <mailto:jeremie.galarneau@efficios.com>.
π COPYRIGHT π
this command is part of the Babeltrace 2 project.
Babeltrace is distributed under the MIT license (see <https://opensource.org/licenses/MIT>).
π«Ά SEE ALSO π«Ά
babeltrace2-intro(7), babeltrace2(1), babeltrace2-list-plugins(1)
and that's the whole page bestie!! this was Babeltrace 2.1.2, dated 14 September 2019, and it's the BABELTRACE2-HELP(1) page β go get your help, you got this β¨ππ
π¦ where this page comes from
- fedora 43: babeltrace2 2.1.2-3.fc43 Β· MIT AND GPL-2.0-only
- fedora 44: babeltrace2 2.1.2-5.fc44 Β· MIT AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms