'\" t .\" Title: trace-cmd-convert .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 02/10/2024 .\" Manual: libtracefs Manual .\" Source: libtracefs .\" Language: English .\" .TH "TRACE\-CMD\-CONVERT" "1" "02/10/2024" "libtracefs" "libtracefs Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" trace-cmd-convert \- convert trace files .SH "SYNOPSIS" .sp \fBtrace\-cmd convert\fR [\fIOPTIONS\fR] [\fIoutput\-file\fR] .SH "DESCRIPTION" .sp 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)\&. .SH "OPTIONS" .PP \fB\-i\fR \fIinput\-file\fR .RS 4 By default, trace\-cmd convert will read the file \fItrace\&.dat\fR\&. But the \fB\-i\fR option open up the given \fIinput\-file\fR instead\&. .RE .PP \fB\-o\fR \fIout\-file\fR .RS 4 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\&. .RE .PP \fB\-\-file\-version\fR .RS 4 Desired version of the output file\&. Supported versions are 6 or 7\&. .RE .PP \fB\-\-compression\fR .RS 4 Compression of the trace output file, one of these strings can be passed: .sp .if n \{\ .RS 4 .\} .nf \*(Aqany\*(Aq \- auto select the best available compression algorithm .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf \*(Aqnone\*(Aq \- do not compress the trace file .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf \*(Aqname\*(Aq \- the name of the desired compression algorithms\&. Available algorithms can be listed with trace\-cmd list \-c .fi .if n \{\ .RE .\} .RE .PP \fB\-\-help\fR .RS 4 Print usage information\&. .RE .SH "EXAMPLES" .sp # trace\-cmd convert \-\-compression any trace_compress\&.dat .SH "SEE ALSO" .sp trace\-cmd(1), trace\-cmd\&.dat(1) .SH "AUTHOR" .sp \fBSteven Rostedt\fR <\m[blue]\fBrostedt@goodmis\&.org\fR\m[]\&\s-2\u[1]\d\s+2>, author of \fBtrace\-cmd\fR\&. \fBTzvetomir Stoyanov\fR <\m[blue]\fBtz\&.stoyanov@gmail\&.com\fR\m[]\&\s-2\u[2]\d\s+2>, author of this man page\&. .SH "RESOURCES" .sp \m[blue]\fBhttps://git\&.kernel\&.org/pub/scm/utils/trace\-cmd/trace\-cmd\&.git/\fR\m[] .SH "COPYING" .sp Copyright (C) 2021 VMware\&. Free use of this software is granted under the terms of the GNU Public License (GPL)\&. .SH "NOTES" .IP " 1." 4 rostedt@goodmis.org .RS 4 \%mailto:rostedt@goodmis.org .RE .IP " 2." 4 tz.stoyanov@gmail.com .RS 4 \%mailto:tz.stoyanov@gmail.com .RE