TRACE-CMD-CONVERT(1)

🦋 TRACE-CMD-CONVERT(1) 🦋

okay so bestie, welcome to the libtracefs manual — this one's all about trace-cmd-convert, and honestly? it's giving "glow-up for your trace files" 💅


✨ NAME ✨

trace-cmd-convert — convert trace files, periodt 💖


✨ SYNOPSIS ✨

trace-cmd convert [OPTIONS] [output-file]

✨ DESCRIPTION ✨

so the trace-cmd(1) convert command converts a trace file 🎀 it reads the input file and copies all that data into an output file. and here's the iconic part: the output file can be in a different format depending on the command line arguments you pass.

the default output is in version 7 and compressed (as long as it was compiled with compression support, no cap) ✨


✨ OPTIONS ✨

  • -i input-file — by default, trace-cmd convert will read the file trace.dat. but the -i option opens up the given input-file instead. so if your file's living somewhere else, this is your moment 🫶
  • -o out-file — the name of the output file. this parameter is mandatory, bestie, like you literally cannot skip it 😭 note that the output file may also be specified as the last item on the command line, so you've got options.
  • --file-version — your desired version of the output file. the supported versions are 6 or 7. pick your fighter 🔥
  • --compression — compression of the trace output file. you can pass one of these strings:
'any'  - auto select the best available compression algorithm

'none' - do not compress the trace file

'name' - the name of the desired compression algorithms. Available algorithms can be listed with
trace-cmd list -c
  • --help — print usage information. the classic "help me help you" move 💀

✨ EXAMPLES ✨

# trace-cmd convert --compression any trace_compress.dat

look at her go 🧚


✨ SEE ALSO ✨

trace-cmd(1), trace-cmd.dat(1)


✨ AUTHOR ✨

Steven Rostedt <rostedt@goodmis.org>, author of trace-cmd. Tzvetomir Stoyanov <tz.stoyanov@gmail.com>, author of this man page. kings, honestly 👑


✨ RESOURCES ✨

https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/


✨ COPYING ✨

Copyright (C) 2021 VMware. Free use of this software is granted under the terms of the GNU Public License (GPL). slay 💜


✨ NOTES ✨

  1. rostedt@goodmis.org mailto:rostedt@goodmis.org
  2. tz.stoyanov@gmail.com mailto:tz.stoyanov@gmail.com

and that's the whole vibe check, bestie 🌈 this page came to you courtesy of libtracefs, dated 03/09/2026 — go convert something iconic ✨🎀💖

📦 where this page comes from