perf annotate: Add offset/line/line_nr into struct annotate_args
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:32 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Nov 2017 12:39:58 +0000 (09:39 -0300)
commit4748834f96903f843719b02190f98e36b2c55192
tree0e54d86bccc8d889d5014f930fb3fadd5274b531
parent1a04db70dcbf621f9919e95456c372281779c053
perf annotate: Add offset/line/line_nr into struct annotate_args

Add offset/line/line_nr into struct annotate_args to reduce the number
of arguments that need to travel all the way to line allocation.

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