Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   babeltrace2-run    ( 1 )

создайте график обработки трассировки Babeltrace 2 и запустите его (Create a Babeltrace 2 trace processing graph and run it)

  Name  |  Synopsis  |  Description  |  Options  |  Examples  |    Environment variables    |  Files  |  Exit  |  Bugs  |  Resources  |

Переменные окружения (Environment variables)

Babeltrace 2 library BABELTRACE_EXEC_ON_ABORT=CMDLINE Execute the command line CMDLINE, 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 the setuid or the setgid access right flag set.

BABELTRACE_TERM_COLOR=(AUTO | NEVER | ALWAYS) Force the terminal color support for the babeltrace2(1) program and the project's 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.

ALWAYS Always emit terminal color codes.

BABELTRACE_TERM_COLOR_BRIGHT_MEANS_BOLD=0 Set to 0 to emit SGR (see <https://en.wikipedia.org/wiki/ANSI_escape_code>) codes 90 to 97 for bright colors instead of bold (SGR code 1) and standard color codes (SGR codes 30 to 37).

BABELTRACE_PLUGIN_PATH=PATHS Set the list of directories, in order, in which dynamic plugins can be found before other directories are considered to PATHS (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 Babeltrace 2 library's initial log level to be LVL.

If this environment variable is set, 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 the TRACE level.

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 to DIR.

If this environment variable is set, 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 be LVL.

If this environment variable is set, 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 the TRACE level.

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 babeltrace2 CLI's log level to be LVL.

If this environment variable is set, 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 the TRACE level.

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 which babeltrace2-convert(1) prints when you convert a trace with a relative path that's also the name of a babeltrace2 command.

BABELTRACE_DEBUG=1 Legacy variable: equivalent to setting the --log-level option to TRACE.

BABELTRACE_VERBOSE=1 Legacy variable: equivalent to setting the --log-level option to INFO.