Jiri Olsa | 2245bf1 | 2015-02-20 23:16:59 +0100 | [diff] [blame] | 1 | perf-data(1) |
Takashi Iwai | ea66536 | 2018-03-07 11:54:41 +0100 | [diff] [blame] | 2 | ============ |
Jiri Olsa | 2245bf1 | 2015-02-20 23:16:59 +0100 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | perf-data - Data file related processing |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | 'perf data' [<common options>] <command> [<options>]", |
| 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 15 | Data file related processing. |
Jiri Olsa | edbe981 | 2015-02-20 23:17:00 +0100 | [diff] [blame] | 16 | |
| 17 | COMMANDS |
| 18 | -------- |
| 19 | convert:: |
Nicholas Fraser | d0713d4 | 2021-04-26 10:47:16 -0400 | [diff] [blame] | 20 | Converts perf data file into another format. |
Jiri Olsa | edbe981 | 2015-02-20 23:17:00 +0100 | [diff] [blame] | 21 | It's possible to set data-convert debug variable to get debug messages from conversion, |
| 22 | like: |
| 23 | perf --debug data-convert data convert ... |
| 24 | |
| 25 | OPTIONS for 'convert' |
| 26 | --------------------- |
| 27 | --to-ctf:: |
| 28 | Triggers the CTF conversion, specify the path of CTF data directory. |
| 29 | |
Nicholas Fraser | d0713d4 | 2021-04-26 10:47:16 -0400 | [diff] [blame] | 30 | --to-json:: |
| 31 | Triggers JSON conversion. Specify the JSON filename to output. |
| 32 | |
Jiri Olsa | 88371c5 | 2020-08-05 11:34:42 +0200 | [diff] [blame] | 33 | --tod:: |
| 34 | Convert time to wall clock time. |
| 35 | |
Jiri Olsa | edbe981 | 2015-02-20 23:17:00 +0100 | [diff] [blame] | 36 | -i:: |
| 37 | Specify input perf data file path. |
| 38 | |
Sangwon Hong | ba7e851 | 2018-02-05 20:48:35 +0900 | [diff] [blame] | 39 | -f:: |
| 40 | --force:: |
| 41 | Don't complain, do it. |
| 42 | |
Jiri Olsa | edbe981 | 2015-02-20 23:17:00 +0100 | [diff] [blame] | 43 | -v:: |
| 44 | --verbose:: |
| 45 | Be more verbose (show counter open errors, etc). |
| 46 | |
Wang Nan | 9e1a7ea | 2016-06-24 11:22:11 +0000 | [diff] [blame] | 47 | --all:: |
| 48 | Convert all events, including non-sample events (comm, fork, ...), to output. |
| 49 | Default is off, only convert samples. |
| 50 | |
Jiri Olsa | edbe981 | 2015-02-20 23:17:00 +0100 | [diff] [blame] | 51 | SEE ALSO |
| 52 | -------- |
| 53 | linkperf:perf[1] |
| 54 | [1] Common Trace Format - http://www.efficios.com/ctf |