1TRACE-CMD-CONVERT(1) libtracefs Manual TRACE-CMD-CONVERT(1)
2
3
4
6 trace-cmd-convert - convert trace files
7
9 trace-cmd convert [OPTIONS] [output-file]
10
12 The trace-cmd(1) convert command converts trace file. It reads the
13 input file and copies the data into an output file. The output file may
14 be in different format, depending on the command line arguments. The
15 default output is in version 7 and compressed (if compiled with
16 compression support).
17
19 -i input-file
20 By default, trace-cmd convert will read the file trace.dat. But the
21 -i option open up the given input-file instead.
22
23 -o out-file
24 The name of the output file, this parameter is mandatory. Note, the
25 output file may also be specified as the last item on the command
26 line.
27
28 --file-version
29 Desired version of the output file. Supported versions are 6 or 7.
30
31 --compression
32 Compression of the trace output file, one of these strings can be
33 passed:
34
35 'any' - auto select the best available compression algorithm
36
37 'none' - do not compress the trace file
38
39 'name' - the name of the desired compression algorithms. Available algorithms can be listed with
40 trace-cmd list -c
41
42 --help
43 Print usage information.
44
46 # trace-cmd convert --compression any trace_compress.dat
47
49 trace-cmd(1), trace-cmd.dat(1)
50
52 Steven Rostedt <rostedt@goodmis.org[1]>, author of trace-cmd. Tzvetomir
53 Stoyanov <tz.stoyanov@gmail.com[2]>, author of this man page.
54
56 https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
57
59 Copyright (C) 2021 VMware. Free use of this software is granted under
60 the terms of the GNU Public License (GPL).
61
63 1. rostedt@goodmis.org
64 mailto:rostedt@goodmis.org
65
66 2. tz.stoyanov@gmail.com
67 mailto:tz.stoyanov@gmail.com
68
69
70
71libtracefs 07/22/2023 TRACE-CMD-CONVERT(1)