Commit | Line | Data |
---|---|---|
86a9eee0 | 1 | perf-diff(1) |
4778e0e8 | 2 | ============ |
86a9eee0 ACM |
3 | |
4 | NAME | |
5 | ---- | |
d30531c6 | 6 | perf-diff - Read two perf.data files and display the differential profile |
86a9eee0 ACM |
7 | |
8 | SYNOPSIS | |
9 | -------- | |
10 | [verse] | |
11 | 'perf diff' [oldfile] [newfile] | |
12 | ||
13 | DESCRIPTION | |
14 | ----------- | |
d30531c6 | 15 | This command displays the performance difference amongst two perf.data files |
86a9eee0 ACM |
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 | ------- | |
c351c281 ACM |
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 | ||
86a9eee0 ACM |
48 | -v:: |
49 | --verbose:: | |
d30531c6 | 50 | Be verbose, for instance, show the raw counts in addition to the |
86a9eee0 | 51 | diff. |
cdccc690 | 52 | |
86a9eee0 ACM |
53 | SEE ALSO |
54 | -------- | |
55 | linkperf:perf-record[1] |