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 | 33db4568e1f41efe6d0e4695483f968fc1135bf3 (patch) | |
tree | 864186165ad27a133c773d36dd83b20cf5a19abc /tools/perf/Documentation | |
parent | f2148330544a697481219b5bc34261f6dd049bfb (diff) |
perf top: Add --percentage option
The --percentage option is for controlling overhead percentage
displayed. It can only receive either of "relative" or "absolute".
Move the parser callback function into a common location since it's
used by multiple commands now.
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-4-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-top.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt index 976b00c6cdb1..64ed79c43639 100644 --- a/tools/perf/Documentation/perf-top.txt +++ b/tools/perf/Documentation/perf-top.txt | |||
@@ -123,13 +123,16 @@ Default is to monitor all CPUS. | |||
123 | Show a column with the sum of periods. | 123 | Show a column with the sum of periods. |
124 | 124 | ||
125 | --dsos:: | 125 | --dsos:: |
126 | Only consider symbols in these dsos. | 126 | Only consider symbols in these dsos. This option will affect the |
127 | percentage of the overhead column. See --percentage for more info. | ||
127 | 128 | ||
128 | --comms:: | 129 | --comms:: |
129 | Only consider symbols in these comms. | 130 | Only consider symbols in these comms. This option will affect the |
131 | percentage of the overhead column. See --percentage for more info. | ||
130 | 132 | ||
131 | --symbols:: | 133 | --symbols:: |
132 | Only consider these symbols. | 134 | Only consider these symbols. This option will affect the |
135 | percentage of the overhead column. See --percentage for more info. | ||
133 | 136 | ||
134 | -M:: | 137 | -M:: |
135 | --disassembler-style=:: Set disassembler style for objdump. | 138 | --disassembler-style=:: Set disassembler style for objdump. |
@@ -165,6 +168,15 @@ Default is to monitor all CPUS. | |||
165 | Do not show entries which have an overhead under that percent. | 168 | Do not show entries which have an overhead under that percent. |
166 | (Default: 0). | 169 | (Default: 0). |
167 | 170 | ||
171 | --percentage:: | ||
172 | Determine how to display the overhead percentage of filtered entries. | ||
173 | Filters can be applied by --comms, --dsos and/or --symbols options and | ||
174 | Zoom operations on the TUI (thread, dso, etc). | ||
175 | |||
176 | "relative" means it's relative to filtered entries only so that the | ||
177 | sum of shown entries will be always 100%. "absolute" means it retains | ||
178 | the original value before and after the filter is applied. | ||
179 | |||
168 | INTERACTIVE PROMPTING KEYS | 180 | INTERACTIVE PROMPTING KEYS |
169 | -------------------------- | 181 | -------------------------- |
170 | 182 | ||