]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - tools/perf/ui/browsers/annotate.c
perf annotate browser: Change selection to struct annotation_line
authorJiri Olsa <jolsa@redhat.com>
Mon, 6 Nov 2017 10:56:17 +0000 (11:56 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:47 +0000 (14:49 -0300)
commit7bcbcd589b15eae849d45540832ba4f9530c778e
treee2b508aa3875b4d63ea59d2dfd1f633f5882589c
parentdaf25d4303cbf1795535b6c0b7172ba6f12aa2bd
perf annotate browser: Change selection to struct annotation_line

Use struct annotation_line as a browser::selection.

We want to be able to use the annotate_browser for all sorts of source
data, so it needs to be able to work over the generic 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/20171106105617.GC20858@krava
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c