1perf-data(1) 2============ 3 4NAME 5---- 6perf-data - Data file related processing 7 8SYNOPSIS 9-------- 10[verse] 11'perf data' [<common options>] <command> [<options>]", 12 13DESCRIPTION 14----------- 15Data file related processing. 16 17COMMANDS 18-------- 19convert:: 20 Converts perf data file into another format. 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 25OPTIONS for 'convert' 26--------------------- 27--to-ctf:: 28 Triggers the CTF conversion, specify the path of CTF data directory. 29 30--to-json:: 31 Triggers JSON conversion. Specify the JSON filename to output. 32 33--tod:: 34 Convert time to wall clock time. 35 36-i:: 37 Specify input perf data file path. 38 39-f:: 40--force:: 41 Don't complain, do it. 42 43--time:: 44 Only convert samples within given time window: <start>,<stop>. Times 45 have the format seconds.nanoseconds. If start is not given (i.e. time 46 string is ',x.y') then analysis starts at the beginning of the file. If 47 stop time is not given (i.e. time string is 'x.y,') then analysis goes 48 to end of file. Multiple ranges can be separated by spaces, which 49 requires the argument to be quoted e.g. --time "1234.567,1234.789 1235," 50 51 Also support time percent with multiple time ranges. Time string is 52 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. 53 54 For example: 55 Select the second 10% time slice: 56 57 perf data convert --to-json out.json --time 10%/2 58 59 Select from 0% to 10% time slice: 60 61 perf data convert --to-json out.json --time 0%-10% 62 63 Select the first and second 10% time slices: 64 65 perf data convert --to-json out.json --time 10%/1,10%/2 66 67 Select from 0% to 10% and 30% to 40% slices: 68 69 perf data convert --to-json out.json --time 0%-10%,30%-40% 70 71-v:: 72--verbose:: 73 Be more verbose (show counter open errors, etc). 74 75--all:: 76 Convert all events, including non-sample events (comm, fork, ...), to output. 77 Default is off, only convert samples. 78 79SEE ALSO 80-------- 81linkperf:perf[1] 82[1] Common Trace Format - http://www.efficios.com/ctf 83