perf annotate: Move line/offset into annotation_line struct
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:26 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Nov 2017 12:39:57 +0000 (09:39 -0300)
commitd5490b9647e6e41b203186ed0d73b4103f139fda
treeea6b969cfc4d91ac645d6cb310af428bd523b9c5
parenta17c4ca0ddef659d33fb6661995bd74e1a6a6101
perf annotate: Move line/offset into annotation_line struct

Move the line/line_nr/offset menbers to the annotation_line struct to be
used as generic members for any annotation source.

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