perf annotate: Remove disasm__calc_percent() from annotate_browser__calc_percent()
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:43 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:45:35 +0000 (14:45 -0300)
commite425da6caed1a2872e9543bba83488dbe4bbe3f3
treeb2ea0d3b2a30ef867c59d115e32532b03349ceea
parentf681d593d1ce7d2fc665c4047b45f4316408b892
perf annotate: Remove disasm__calc_percent() from annotate_browser__calc_percent()

Remove disasm__calc_percent() from annotate_browser__calc_percent(),
because we already have the data calculated in struct annotation_line.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20171011150158.11895-21-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c