| Ingo Molnar | 0bec253 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 1 | perf-report(1) | 
| Ingo Molnar | c1c2365 | 2009-05-30 12:38:51 +0200 | [diff] [blame] | 2 | ============== | 
| Ingo Molnar | 0bec253 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 3 |  | 
|  | 4 | NAME | 
|  | 5 | ---- | 
| Ingo Molnar | 23ac9cb | 2009-05-27 09:33:18 +0200 | [diff] [blame] | 6 | perf-report - Read perf.data (created by perf record) and display the profile | 
| Ingo Molnar | 0bec253 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 7 |  | 
|  | 8 | SYNOPSIS | 
|  | 9 | -------- | 
|  | 10 | [verse] | 
|  | 11 | 'perf report' [-i <file> | --input=file] | 
|  | 12 |  | 
|  | 13 | DESCRIPTION | 
|  | 14 | ----------- | 
|  | 15 | This command displays the performance counter profile information recorded | 
| Ingo Molnar | b0a2858 | 2009-06-23 16:39:53 +0200 | [diff] [blame] | 16 | via perf record. | 
| Ingo Molnar | 0bec253 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 17 |  | 
|  | 18 | OPTIONS | 
|  | 19 | ------- | 
|  | 20 | -i:: | 
|  | 21 | --input=:: | 
| Ingo Molnar | 23ac9cb | 2009-05-27 09:33:18 +0200 | [diff] [blame] | 22 | Input file name. (default: perf.data) | 
| Arnaldo Carvalho de Melo | 2590340 | 2009-06-30 19:01:20 -0300 | [diff] [blame] | 23 | -d:: | 
|  | 24 | --dsos=:: | 
|  | 25 | Only consider symbols in these dsos. CSV that understands | 
|  | 26 | file://filename entries. | 
| Zeev Tarantov | ca2b900 | 2009-11-09 13:26:13 +0200 | [diff] [blame] | 27 | -n:: | 
|  | 28 | --show-nr-samples:: | 
| Arnaldo Carvalho de Melo | e3d7e18 | 2009-07-11 12:18:37 -0300 | [diff] [blame] | 29 | Show the number of samples for each symbol | 
| Zeev Tarantov | ca2b900 | 2009-11-09 13:26:13 +0200 | [diff] [blame] | 30 | -T:: | 
|  | 31 | --threads:: | 
| Brice Goglin | 8d51327 | 2009-08-07 13:55:24 +0200 | [diff] [blame] | 32 | Show per-thread event counters | 
| Arnaldo Carvalho de Melo | cc8b88b | 2009-06-30 19:01:21 -0300 | [diff] [blame] | 33 | -C:: | 
|  | 34 | --comms=:: | 
|  | 35 | Only consider symbols in these comms. CSV that understands | 
|  | 36 | file://filename entries. | 
| Arnaldo Carvalho de Melo | 7bec7a9 | 2009-06-30 19:01:22 -0300 | [diff] [blame] | 37 | -S:: | 
|  | 38 | --symbols=:: | 
|  | 39 | Only consider these symbols. CSV that understands | 
|  | 40 | file://filename entries. | 
| Ingo Molnar | 0bec253 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 41 |  | 
| Arnaldo Carvalho de Melo | c351c28 | 2009-12-16 13:49:27 -0200 | [diff] [blame] | 42 | -s:: | 
|  | 43 | --sort=:: | 
|  | 44 | Sort by key(s): pid, comm, dso, symbol, parent. | 
|  | 45 |  | 
| Arnaldo Carvalho de Melo | 52d422d | 2009-07-10 22:47:28 -0300 | [diff] [blame] | 46 | -w:: | 
|  | 47 | --field-width=:: | 
|  | 48 | Force each column width to the provided list, for large terminal | 
|  | 49 | readability. | 
|  | 50 |  | 
|  | 51 | -t:: | 
|  | 52 | --field-separator=:: | 
|  | 53 |  | 
|  | 54 | Use a special separator character and don't pad with spaces, replacing | 
|  | 55 | all occurances of this separator in symbol names (and other output) | 
|  | 56 | with a '.' character, that thus it's the only non valid separator. | 
|  | 57 |  | 
| Frederic Weisbecker | ec7ba4e | 2009-08-31 03:32:03 +0200 | [diff] [blame] | 58 | -g [type,min]:: | 
|  | 59 | --call-graph:: | 
|  | 60 | Display callchains using type and min percent threshold. | 
|  | 61 | type can be either: | 
|  | 62 | - flat: single column, linear exposure of callchains. | 
|  | 63 | - graph: use a graph tree, displaying absolute overhead rates. | 
|  | 64 | - fractal: like graph, but displays relative rates. Each branch of | 
|  | 65 | the tree is considered as a new profiled object. + | 
|  | 66 | Default: fractal,0.5. | 
|  | 67 |  | 
| Ingo Molnar | 0bec253 | 2009-05-26 09:17:18 +0200 | [diff] [blame] | 68 | SEE ALSO | 
|  | 69 | -------- | 
|  | 70 | linkperf:perf-stat[1] |