LTTNG-METADATA(1)
π LTTNG-METADATA β the lttng-metadata manual, bestie edition
okay so this is the page for lttng-metadata, which lives in the LTTng Manual (that's section 1 of the manual, if u were wondering). it's all about managing the metadata generation of an LTTng recording session. yes babes, metadata. it's giving β¨underratedβ¨.
πΈ NAME πΈ
lttng-metadata β manage the metadata generation of an LTTng recording session π
π¦ SYNOPSIS π¦
lttng [GENERAL OPTIONS] metadata regenerate [--session=SESSION]
π DESCRIPTION π
Warning π¨ this command is deprecated, bestie. it got replaced bylttng regenerate metadata(go readlttng-regenerate(1)for the glow-up version). so like... it still exists, but it's the older sibling. π
β¨ OPTIONS β¨
for GENERAL OPTIONS, go check lttng(1) β that's where the main-character general options hang out. π
-sSESSION,--session=SESSION β manage the metadata generation of the recording session named SESSION instead of the current recording session (and if u wanna know what even is the current recording session,lttng-concepts(7)has u covered π«Ά).
π Program information π
-h,--helpβ show help.
this option literally tries to launch /usr/bin/man to pull up this very manual page. wanna use a different manual pager? override the path with the LTTNG_MAN_BIN_PATH environment variable. slay. π
--list-optionsβ list the available command options and then quit. short, sweet, iconic. β¨
π₯ EXIT STATUS π₯
0β success β1β command error π¬2β undefined command π3β fatal error π4β command warning (something went wrong during the command, like... not fatal but not fine either) π
π ENVIRONMENT π
LTTNG_ABORT_ON_ERRORβ set to1to abort the process after the first error is encountered. no second chances, periodt.LTTNG_HOMEβ path to the LTTng home directory.
defaults to $HOME.
super useful when the Unix user running the commands has a non-writable home directory. we've all been there. π«
LTTNG_LIST_LEGACYβ set to1to use the legacy output format (LTTng 2.14 and earlier) for thelttng-list(1)command instead of the modern output format.
note that the legacy output doesn't show anything related to features introduced after LTTng 2.14. no cap. π΅
LTTNG_MAN_BIN_PATHβ absolute path to the manual pager to use to read the LTTng command-line help (withlttng-help(1)or with the--helpoption) instead of/usr/bin/man.LTTNG_NO_UTF_8β set to1to NOT emit multi-byte UTF-8 sequences, even if the locale claims to support it. it said "no thoughts, just ASCII". π«LTTNG_SESSION_CONFIG_XSD_PATHβ path to the directory containing thesession.xsdrecording session configuration XML schema.LTTNG_SESSIOND_PATHβ absolute path to the LTTng session daemon binary (seelttng-sessiond(8)) to spawn from thelttng-create(1)command.
heads up: the --sessiond-path general option overrides this environment variable. okay so listen to the flag first. π
LTTNG_TERM_COLORβ controls when to emit terminal SGR codes in the output.
the NO_COLOR environment variable overrides this one. sorry bestie, NO_COLOR wins. π
one of:
auto(default) β only emit SGR codes when the standard output is connected to a color-capable terminal.alwaysβ always emit SGR codes. πβ¨neverβ never emit SGR codes. π«
NO_COLORβ if set and not empty, then it's equivalent to settingLTTNG_TERM_COLORtonever.
go learn more at the NO_COLOR site, https://no-color.org/ β it's a whole movement. π«Ά
π FILES π
$LTTNG_HOME/.lttngrcβ Unix user's LTTng runtime configuration.
this is where LTTng stores the name of the Unix user's current recording session between executions of lttng(1). lttng-create(1) and lttng-set-session(1) set the current recording session. it's basically the "who am I rn" file. π
$LTTNG_HOME/lttng-tracesβ default output directory of LTTng traces in local and snapshot modes.
override this path with the --output option of the lttng-create(1) command. π
$LTTNG_HOME/.lttngβ Unix user's LTTng runtime and configuration directory.$LTTNG_HOME/.lttng/sessionsβ default directory containing the Unix user's saved recording session configurations (seelttng-save(1)andlttng-load(1))./etc/lttng/sessionsβ directory containing the system-wide saved recording session configurations (seelttng-save(1)andlttng-load(1)).
Note π$LTTNG_HOMEdefaults to the value of theHOMEenvironment variable.
π§ RESOURCES π§
- LTTng project website β
https://lttng.orgπ - LTTng documentation β
https://lttng.org/docsπ - LTTng bug tracker β
https://bugs.lttng.orgπ - Git repositories β
https://git.lttng.orgπ³ - GitHub organization β
https://github.com/lttngπ - Continuous integration β
https://ci.lttng.org/βοΈ - Mailing list β
https://lists.lttng.org/for support and development:lttng-dev@lists.lttng.orgπ - IRC channel β
irc://irc.oftc.net/lttng:#lttngonirc.oftc.netπ¬ - Mastodon β
https://mastodon.social/@lttngπ
π COPYRIGHT π
this program is part of the LTTng-tools project. π οΈ
LTTng-tools is distributed under the GNU General Public License version 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html). see the LICENSE file at https://github.com/lttng/lttng-tools/blob/master/LICENSE for the deets. π
π THANKS π
special thanks to Michel Dagenais and the DORSAL laboratory (http://www.dorsal.polymtl.ca/) at Γcole Polytechnique de MontrΓ©al for the LTTng journey. y'all ate. π
also thanks to the Ericsson teams working on tracing, who helped greatly with detailed bug reports and unusual test cases. the way u found those weird edge cases... iconic. π
π«Ά SEE ALSO π«Ά
lttng(1), lttng-regenerate(1), lttng-concepts(7)
and that's the whole page, bestie π this was LTTng 2.15.1, dated 14 June 2021 β no cap, that's the version and the date right there at the bottom of the original. now go regenerate some metadata (with the new command tho, fr fr) πβ¨
π¦ where this page comes from
- ubuntu stonking: lttng-tools 2.15.1-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms