diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-02-06 22:06:07 -0500 |
---|---|---|
committer | Jiri Olsa <jolsa@redhat.com> | 2014-04-16 11:16:03 -0400 |
commit | 8810f6ced73556c1a63b6269a6cdad8d630aaaf0 (patch) | |
tree | 44357b32b7388716d983f037223cc38a27feb905 /tools/perf/Documentation/perf-diff.txt | |
parent | 33db4568e1f41efe6d0e4695483f968fc1135bf3 (diff) |
perf diff: Add --percentage option
The --percentage option is for controlling overhead percentage
displayed. It can only receive either of "relative" or "absolute" and
affects -c delta output only.
For more information, please see previous commit same thing done to
"perf report".
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1397145720-8063-5-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-diff.txt')
-rw-r--r-- | tools/perf/Documentation/perf-diff.txt | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt index fdfceee0ffd0..fbfa1192923c 100644 --- a/tools/perf/Documentation/perf-diff.txt +++ b/tools/perf/Documentation/perf-diff.txt | |||
@@ -33,17 +33,20 @@ OPTIONS | |||
33 | -d:: | 33 | -d:: |
34 | --dsos=:: | 34 | --dsos=:: |
35 | Only consider symbols in these dsos. CSV that understands | 35 | Only consider symbols in these dsos. CSV that understands |
36 | file://filename entries. | 36 | file://filename entries. This option will affect the percentage |
37 | of the Baseline/Delta column. See --percentage for more info. | ||
37 | 38 | ||
38 | -C:: | 39 | -C:: |
39 | --comms=:: | 40 | --comms=:: |
40 | Only consider symbols in these comms. CSV that understands | 41 | Only consider symbols in these comms. CSV that understands |
41 | file://filename entries. | 42 | file://filename entries. This option will affect the percentage |
43 | of the Baseline/Delta column. See --percentage for more info. | ||
42 | 44 | ||
43 | -S:: | 45 | -S:: |
44 | --symbols=:: | 46 | --symbols=:: |
45 | Only consider these symbols. CSV that understands | 47 | Only consider these symbols. CSV that understands |
46 | file://filename entries. | 48 | file://filename entries. This option will affect the percentage |
49 | of the Baseline/Delta column. See --percentage for more info. | ||
47 | 50 | ||
48 | -s:: | 51 | -s:: |
49 | --sort=:: | 52 | --sort=:: |
@@ -89,6 +92,14 @@ OPTIONS | |||
89 | --order:: | 92 | --order:: |
90 | Specify compute sorting column number. | 93 | Specify compute sorting column number. |
91 | 94 | ||
95 | --percentage:: | ||
96 | Determine how to display the overhead percentage of filtered entries. | ||
97 | Filters can be applied by --comms, --dsos and/or --symbols options. | ||
98 | |||
99 | "relative" means it's relative to filtered entries only so that the | ||
100 | sum of shown entries will be always 100%. "absolute" means it retains | ||
101 | the original value before and after the filter is applied. | ||
102 | |||
92 | COMPARISON | 103 | COMPARISON |
93 | ---------- | 104 | ---------- |
94 | The comparison is governed by the baseline file. The baseline perf.data | 105 | The comparison is governed by the baseline file. The baseline perf.data |
@@ -157,6 +168,10 @@ with: | |||
157 | - period_percent being the % of the hist entry period value within | 168 | - period_percent being the % of the hist entry period value within |
158 | single data file | 169 | single data file |
159 | 170 | ||
171 | - with filtering by -C, -d and/or -S, period_percent might be changed | ||
172 | relative to how entries are filtered. Use --percentage=absolute to | ||
173 | prevent such fluctuation. | ||
174 | |||
160 | ratio | 175 | ratio |
161 | ~~~~~ | 176 | ~~~~~ |
162 | If specified the 'Ratio' column is displayed with value 'r' computed as: | 177 | If specified the 'Ratio' column is displayed with value 'r' computed as: |