xref: /linux/tools/perf/Documentation/perf-data.txt (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
12245bf14SJiri Olsaperf-data(1)
2ea66536aSTakashi Iwai============
32245bf14SJiri Olsa
42245bf14SJiri OlsaNAME
52245bf14SJiri Olsa----
62245bf14SJiri Olsaperf-data - Data file related processing
72245bf14SJiri Olsa
82245bf14SJiri OlsaSYNOPSIS
92245bf14SJiri Olsa--------
102245bf14SJiri Olsa[verse]
112245bf14SJiri Olsa'perf data' [<common options>] <command> [<options>]",
122245bf14SJiri Olsa
132245bf14SJiri OlsaDESCRIPTION
142245bf14SJiri Olsa-----------
152245bf14SJiri OlsaData file related processing.
16edbe9817SJiri Olsa
17edbe9817SJiri OlsaCOMMANDS
18edbe9817SJiri Olsa--------
19edbe9817SJiri Olsaconvert::
20*d0713d4cSNicholas Fraser	Converts perf data file into another format.
21edbe9817SJiri Olsa	It's possible to set data-convert debug variable to get debug messages from conversion,
22edbe9817SJiri Olsa	like:
23edbe9817SJiri Olsa	  perf --debug data-convert data convert ...
24edbe9817SJiri Olsa
25edbe9817SJiri OlsaOPTIONS for 'convert'
26edbe9817SJiri Olsa---------------------
27edbe9817SJiri Olsa--to-ctf::
28edbe9817SJiri Olsa	Triggers the CTF conversion, specify the path of CTF data directory.
29edbe9817SJiri Olsa
30*d0713d4cSNicholas Fraser--to-json::
31*d0713d4cSNicholas Fraser	Triggers JSON conversion. Specify the JSON filename to output.
32*d0713d4cSNicholas Fraser
3388371c58SJiri Olsa--tod::
3488371c58SJiri Olsa	Convert time to wall clock time.
3588371c58SJiri Olsa
36edbe9817SJiri Olsa-i::
37edbe9817SJiri Olsa	Specify input perf data file path.
38edbe9817SJiri Olsa
39ba7e8516SSangwon Hong-f::
40ba7e8516SSangwon Hong--force::
41ba7e8516SSangwon Hong	Don't complain, do it.
42ba7e8516SSangwon Hong
43edbe9817SJiri Olsa-v::
44edbe9817SJiri Olsa--verbose::
45edbe9817SJiri Olsa        Be more verbose (show counter open errors, etc).
46edbe9817SJiri Olsa
479e1a7ea1SWang Nan--all::
489e1a7ea1SWang Nan	Convert all events, including non-sample events (comm, fork, ...), to output.
499e1a7ea1SWang Nan	Default is off, only convert samples.
509e1a7ea1SWang Nan
51edbe9817SJiri OlsaSEE ALSO
52edbe9817SJiri Olsa--------
53edbe9817SJiri Olsalinkperf:perf[1]
54edbe9817SJiri Olsa[1] Common Trace Format - http://www.efficios.com/ctf
55