diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-03-03 21:01:41 -0500 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-05-21 05:45:36 -0400 |
commit | 6fe8c26d7ab9fbd6748fc40ca5fea1e3131e7236 (patch) | |
tree | 84e7c5148554942c89cd16c223d612dc7c3299cd /tools/perf/Documentation | |
parent | c0f1527b7e004f9a91e488f05c251213d16ad7ac (diff) |
perf top: Add --fields option to specify output fields
The --fields option is to allow user setup output field in any order.
It can receive any sort keys and following (hpp) fields:
overhead, overhead_sys, overhead_us, sample and period
If guest profiling is enabled, overhead_guest_{sys,us} will be
available too.
More more information, please see previous patch "perf report:
Add -F option to specify output fields"
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1400480762-22852-15-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-top.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-top.txt b/tools/perf/Documentation/perf-top.txt index df863288752a..dcfa54c851e9 100644 --- a/tools/perf/Documentation/perf-top.txt +++ b/tools/perf/Documentation/perf-top.txt | |||
@@ -116,6 +116,15 @@ Default is to monitor all CPUS. | |||
116 | local_weight, abort, in_tx, transaction, overhead, sample, period. | 116 | local_weight, abort, in_tx, transaction, overhead, sample, period. |
117 | Please see description of --sort in the perf-report man page. | 117 | Please see description of --sort in the perf-report man page. |
118 | 118 | ||
119 | --fields=:: | ||
120 | Specify output field - multiple keys can be specified in CSV format. | ||
121 | Following fields are available: | ||
122 | overhead, overhead_sys, overhead_us, sample and period. | ||
123 | Also it can contain any sort key(s). | ||
124 | |||
125 | By default, every sort keys not specified in --field will be appended | ||
126 | automatically. | ||
127 | |||
119 | -n:: | 128 | -n:: |
120 | --show-nr-samples:: | 129 | --show-nr-samples:: |
121 | Show a column with the number of samples. | 130 | Show a column with the number of samples. |