perf annotate: Factor annotation_line__print from disasm_line__print
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:47 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:44 +0000 (14:49 -0300)
commit29971f9a82a5d005b37d65fbb73edaf9073279b0
tree7af6390d90b99ca74e2848bfbbff05d7641535b5
parent8f25b8197d43885a4cc19bea581e37bf46ed9958
perf annotate: Factor annotation_line__print from disasm_line__print

Move generic annotation line display code into annotation_line__print
function.

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-25-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c