TRACE-CMD-CONVERT(1) libtracefs Manual TRACE-CMD-CONVERT(1)
trace-cmd-convert - convert trace files
trace-cmd convert [OPTIONS] [output-file]
The trace-cmd(1) convert command converts trace file. It reads the input file and copies the data into an output file. The output file may be in different format, depending on the command line arguments. The default output is in version 7 and compressed (if compiled with compression support).
-i input-file By default, trace-cmd convert will read the file trace.dat. But the -i option open up the given input-file instead. -o out-file The name of the output file, this parameter is mandatory. Note, the output file may also be specified as the last item on the command line. --file-version Desired version of the output file. Supported versions are 6 or 7. --compression Compression of the trace output file, one of these strings can be passed: '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.
# trace-cmd convert --compression any trace_compress.dat
Steven Rostedt <email@example.com>, author of trace-cmd. Tzvetomir Stoyanov <firstname.lastname@example.org>, author of this man page.
Copyright (C) 2021 VMware. Free use of this software is granted under the terms of the GNU Public License (GPL).
1. email@example.com mailto:firstname.lastname@example.org 2. email@example.com mailto:firstname.lastname@example.org
This page is part of the trace-cmd (a front-end for Ftrace) project. Information about the project can be found at ⟨https://www.trace-cmd.org/⟩. If you have a bug report for this manual page, see ⟨https://www.trace-cmd.org/⟩. This page was obtained from the project's upstream Git repository ⟨https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git⟩ on 2023-06-23. (At that time, the date of the most recent commit that was found in the repository was 2023-06-07.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to email@example.com libtracefs 06/22/2023 TRACE-CMD-CONVERT(1)
Pages that refer to this page: trace-cmd(1)