Merge branches 'x86-alternatives-for-linus', 'x86-fpu-for-linus', 'x86-hwmon-for...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / tools / perf / Documentation / perf-diff.txt
1 perf-diff(1)
2 ============
3
4 NAME
5 ----
6 perf-diff - Read two perf.data files and display the differential profile
7
8 SYNOPSIS
9 --------
10 [verse]
11 'perf diff' [oldfile] [newfile]
12
13 DESCRIPTION
14 -----------
15 This command displays the performance difference amongst two perf.data files
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 -------
22 -M::
23 --displacement::
24 Show position displacement relative to baseline.
25
26 -D::
27 --dump-raw-trace::
28 Dump raw trace in ASCII.
29
30 -m::
31 --modules::
32 Load module symbols. WARNING: use only with -k and LIVE kernel
33
34 -d::
35 --dsos=::
36 Only consider symbols in these dsos. CSV that understands
37 file://filename entries.
38
39 -C::
40 --comms=::
41 Only consider symbols in these comms. CSV that understands
42 file://filename entries.
43
44 -S::
45 --symbols=::
46 Only consider these symbols. CSV that understands
47 file://filename entries.
48
49 -s::
50 --sort=::
51 Sort by key(s): pid, comm, dso, symbol.
52
53 -t::
54 --field-separator=::
55
56 Use a special separator character and don't pad with spaces, replacing
57 all occurrences of this separator in symbol names (and other output)
58 with a '.' character, that thus it's the only non valid separator.
59
60 -v::
61 --verbose::
62 Be verbose, for instance, show the raw counts in addition to the
63 diff.
64
65 -f::
66 --force::
67 Don't complain, do it.
68
69 --symfs=<directory>::
70 Look for files with symbols relative to this directory.
71
72 SEE ALSO
73 --------
74 linkperf:perf-record[1]