diff options
| author | Jiri Olsa <[email protected]> | 2018-08-04 13:05:21 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-08-08 18:55:54 +0000 |
| commit | e6902d1b7326149952abf8e7f07513e254668e52 (patch) | |
| tree | 31e893063f417ebb121259e499c13f9f9b6fd898 /tools/lib/traceevent/plugin_function.c | |
| parent | perf annotate: Add --percent-type option (diff) | |
| download | kernel-e6902d1b7326149952abf8e7f07513e254668e52.tar.gz kernel-e6902d1b7326149952abf8e7f07513e254668e52.zip | |
perf report: Add --percent-type option
Set annotation percent type from following choices:
global-period, local-period, global-hits, local-hits
With following report option setup the percent type will be passed to
annotation browser:
$ perf report --percent-type period-local
The local/global keywords set if the percentage is computed in the scope
of the function (local) or the whole data (global). The period/hits
keywords set the base the percentage is computed on - the samples period
or the number of samples (hits).
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
0 files changed, 0 insertions, 0 deletions
