mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
perf annotate: Make local period the default percent type
Currently we display the percentages in annotation output based on number of samples hits. Switching it to period based percentage by default, because it corresponds more to the time spent on the line. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/20180804130521.11408-18-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
3e0d795319
commit
addba8b66f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ struct annotation_options annotation__default_options = {
|
|||
.jump_arrows = true,
|
||||
.annotate_src = true,
|
||||
.offset_level = ANNOTATION__OFFSET_JUMP_TARGETS,
|
||||
.percent_type = PERCENT_HITS_LOCAL,
|
||||
.percent_type = PERCENT_PERIOD_LOCAL,
|
||||
};
|
||||
|
||||
static regex_t file_lineno;
|
||||
|
|
Loading…
Reference in a new issue