perf annotate: Remove disasm__calc_percent() from disasm_line__print()
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:42 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:41:04 +0000 (14:41 -0300)
commitf681d593d1ce7d2fc665c4047b45f4316408b892
tree31b58ab369edb97bb9df80bd3d712a0217755405
parent8b4c74dc5cd40a3bc77f8bc2b6b7b33dc125e302
perf annotate: Remove disasm__calc_percent() from disasm_line__print()

Remove disasm__calc_percent() from disasm_line__print(), 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-20-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c
tools/perf/util/annotate.c