]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Make local period the default percent type
authorJiri Olsa <jolsa@kernel.org>
Sat, 4 Aug 2018 13:05:18 +0000 (15:05 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2018 18:55:52 +0000 (15:55 -0300)
commit11f5006959e3fb3cf35f7bd33606b3b474fb805e
tree5d43b6d9ce2aaf704b05cbfe55aab13e59a66edb
parent85f72a90d4b799d2fa1ce5c159f46600ca49e708
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>
tools/perf/util/annotate.c