]> git.itanic.dy.fi Git - linux-stable/commit
perf annotate: Move offsets array from 'struct annotation' to 'struct annotated_source'
authorNamhyung Kim <namhyung@kernel.org>
Fri, 3 Nov 2023 19:19:07 +0000 (12:19 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Nov 2023 16:49:33 +0000 (13:49 -0300)
commitb753d48f53f9dcea655d359f028c8adfdd9504b5
tree283debb3fe30132a6b43fa4a94b38035a4d492a7
parent0aae4c99c5f8f748c6cb5ca03bb3b3ae8cfb10df
perf annotate: Move offsets array from 'struct annotation' to 'struct annotated_source'

The offsets array keeps pointers to 'struct annotation_line' entries
which are available in the 'struct annotated_source'.  Let's move it to
there.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20231103191907.54531-6-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h