logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

trace-cmd-convert - convert trace files

Author

StevenRostedt <rostedt@goodmis.org[1]>, author of trace-cmd. TzvetomirStoyanov
       <tz.stoyanov@gmail.com[2]>, author of this man page.

Copying

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

Description

       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).

Examples

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

Name

       trace-cmd-convert - convert trace files

Notes

Options

-iinput-file
           By default, trace-cmd convert will read the file trace.dat. But the -i option open up the given
           input-file instead.

       -oout-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.

Resources

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

See Also

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

Synopsis

trace-cmdconvert [OPTIONS] [output-file]

See Also