BABELTRACE(1)
π BABELTRACE π
okay bestie, buckle up β this is the babeltrace manual page, aka Babeltrace Trace Viewer and Converter, from the fine folks in section 1 of the manual. no cap, it's lowkey iconic. π¦
β¨ SYNOPSIS β¨
babeltrace [OPTIONS] FILE...
πΈ DESCRIPTION πΈ
So, Babeltrace is a trace viewer and converter β it reads and writes the Common Trace Format (that's CTF, iykyk). Its whole main-character thing? Pretty-printing CTF traces into a human-readable text output that's all nicely ordered by time. Chef's kiss. π
This program follows the usual GNU command line syntax, with long options starting with two dashes. Below is a summary of the available options, and yes, we're going through all of them, no skipping. π
FILEβ Input trace FILE(s) or directory(ies). (yes, you can just hand it a pile of them π«Ά)
π OPTIONS π
-w,--outputOUTPUT β Output trace path. (default: stdout, so it just vibes onto your screen)-i,--input-formatFORMAT β Input trace format. (default:ctf) And ngl, CTF is currently the only supported input format, so that's the whole menu.-o,--output-formatFORMAT β Output trace format. (default:text)-h,--helpβ This help message. the classic. π-l,--listβ List available formats.-v,--verboseβ Verbose mode. (or set theBABELTRACE_VERBOSEenvironment variable, if that's more your vibe)-d,--debugβ Debug mode. (or set theBABELTRACE_DEBUGenvironment variable π)--no-deltaβ Do not print time delta between consecutive events.-n,--namesname1<,name2,...> β Print field names. Your options are: (payloadORargsORarg),none,all,scope,header, (contextORctx). (default:payload,context)-f,--fieldsname1<,name2,...> β Print additional fields:all,trace,trace:hostname,trace:domain,trace:procname,trace:vpid,loglevel.--clock-cyclesβ Disregard internal clock offset (use the raw value, bestie).--clock-offsetseconds β Clock offset in seconds.--clock-secondsβ Print the timestamps as[sec.ns](default is:[hh:mm:ss.ns]).--clock-dateβ Print clock date.--clock-gmtβ Print clock in GMT time zone. (default: local time zone, in case you were wondering π)--stream-intersectionβ Only print events when all streams are active.--debug-info-dirβ Directory in which to look for debugging information files. (default:/usr/lib/debug/)--debug-info-target-prefixβ Directory to use as a prefix for executable lookup.--debug-info-full-pathβ Show full debug info source and binary paths (if available β¨).
Formats available:ctf,dummy,text.
π ENVIRONMENT VARIABLES π
Heads up bestie: all command line options will override environmental variables. the command line always wins, periodt. π
BABELTRACE_VERBOSEβ Activate verbose Babeltrace output.BABELTRACE_DEBUGβ Activate debug Babeltrace output.
π¦ SEE ALSO π¦
babeltrace-log(1), lttng(1), lttng-ust(3), lttng-sessiond(8)
go read those next, they're the friend group. π
π BUGS π
okay so, not everything is slay:
- The
lttng-liveplugin does not honor the--outputcommand line option. yeah. it just doesn't. π
If you encounter any issues or usability problem, please report it on our mailing list <lttng-dev@lists.lttng.org> to help improve this project. we're literally begging you, it helps. π«Ά
π CREDITS π
Babeltrace and the babeltrace library are distributed under the MIT license. See the files LICENSE and mit-license.txt for details.
A Web site is available at http://www.efficios.com/babeltrace for more information on Babeltrace and the Common Trace Format. See http://lttng.org for more information on the LTTng project.
Mailing list for support and development: <lttng-dev@lists.lttng.org>.
You can find us on IRC server irc.oftc.net (OFTC) in #lttng. come say hi!! π
πΈ THANKS πΈ
Thanks to the Linux Foundation and Ericsson for funding part of this work. Thanks to the Multicore Association Tool Infrastructure Working Group for their active role in the creation of the Common Trace Format. absolute legends, every one of them. π
β AUTHORS β
Babeltrace was originally written by Mathieu Desnoyers, with additional contributions from various other people. It is currently maintained by Mathieu Desnoyers <mathieu.desnoyers@efficios.com>.
and that's the whole page bestie!! β¨ this one's dated February 6, 2012, and yeah β it's the BABELTRACE(1) page, section 1 of the manual, so you know exactly where to find it again. go forth and pretty-print some traces. you got this. πππ¦
π¦ where this page comes from
- debian bookworm: babeltrace 1.5.11-1+b2 Β· MIT
- debian trixie: babeltrace 1.5.11-4+b2 Β· MIT
- fedora 43: babeltrace 1.5.11-15.fc43 Β· MIT AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LGPL-2.1-only AND BSD-4-Clause-UC
- fedora 44: babeltrace 1.5.11-17.fc44 Β· MIT AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LGPL-2.1-only AND BSD-4-Clause-UC
- nixos 26.05: babeltrace 1.5.11
- nixpkgs unstable: babeltrace 1.5.11
- ubuntu noble: babeltrace 1.5.11-3build3 Β· MIT
- ubuntu questing: babeltrace 1.5.11-4build2
- ubuntu resolute: babeltrace 1.5.11-5build1 Β· MIT
- ubuntu stonking: babeltrace 1.5.11-6 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms