Arnaldo Carvalho de Melo | 86a9eee | 2009-12-14 20:09:31 -0200 | [diff] [blame] | 1 | perf-diff(1) |
| 2 | ============== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Ingo Molnar | d30531c | 2009-12-15 10:24:08 +0100 | [diff] [blame] | 6 | perf-diff - Read two perf.data files and display the differential profile |
Arnaldo Carvalho de Melo | 86a9eee | 2009-12-14 20:09:31 -0200 | [diff] [blame] | 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | 'perf diff' [oldfile] [newfile] |
| 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
Ingo Molnar | d30531c | 2009-12-15 10:24:08 +0100 | [diff] [blame] | 15 | This command displays the performance difference amongst two perf.data files |
Arnaldo Carvalho de Melo | 86a9eee | 2009-12-14 20:09:31 -0200 | [diff] [blame] | 16 | captured via perf record. |
| 17 | |
| 18 | If no parameters are passed it will assume perf.data.old and perf.data. |
| 19 | |
| 20 | OPTIONS |
| 21 | ------- |
Arnaldo Carvalho de Melo | c351c28 | 2009-12-16 13:49:27 -0200 | [diff] [blame] | 22 | -d:: |
| 23 | --dsos=:: |
| 24 | Only consider symbols in these dsos. CSV that understands |
| 25 | file://filename entries. |
| 26 | |
| 27 | -C:: |
| 28 | --comms=:: |
| 29 | Only consider symbols in these comms. CSV that understands |
| 30 | file://filename entries. |
| 31 | |
| 32 | -S:: |
| 33 | --symbols=:: |
| 34 | Only consider these symbols. CSV that understands |
| 35 | file://filename entries. |
| 36 | |
| 37 | -s:: |
| 38 | --sort=:: |
| 39 | Sort by key(s): pid, comm, dso, symbol. |
| 40 | |
| 41 | -t:: |
| 42 | --field-separator=:: |
| 43 | |
| 44 | Use a special separator character and don't pad with spaces, replacing |
| 45 | all occurances of this separator in symbol names (and other output) |
| 46 | with a '.' character, that thus it's the only non valid separator. |
| 47 | |
Arnaldo Carvalho de Melo | 86a9eee | 2009-12-14 20:09:31 -0200 | [diff] [blame] | 48 | -v:: |
| 49 | --verbose:: |
Ingo Molnar | d30531c | 2009-12-15 10:24:08 +0100 | [diff] [blame] | 50 | Be verbose, for instance, show the raw counts in addition to the |
Arnaldo Carvalho de Melo | 86a9eee | 2009-12-14 20:09:31 -0200 | [diff] [blame] | 51 | diff. |
Arnaldo Carvalho de Melo | cdccc69 | 2009-12-15 11:01:22 -0200 | [diff] [blame] | 52 | |
Arnaldo Carvalho de Melo | 86a9eee | 2009-12-14 20:09:31 -0200 | [diff] [blame] | 53 | SEE ALSO |
| 54 | -------- |
| 55 | linkperf:perf-record[1] |