perf annotate: Remove sym_hist.addr[] array
authorNamhyung Kim <namhyung@kernel.org>
Mon, 4 Mar 2024 23:08:14 +0000 (15:08 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 7 Mar 2024 04:25:36 +0000 (20:25 -0800)
commitf59e3660cd84d94cfdddbced91200981d9c25218
tree041c07711570e8bd87e829ea3b579fd8c802eb0c
parent80154575849778e40d9d87aa7ab14491ac401948
perf annotate: Remove sym_hist.addr[] array

It's not used anymore and the code is coverted to use a hash map.  Now
sym_hist has a static size, so no need to have sizeof_sym_hist in the
struct annotated_source.

Reviewed-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240304230815.1440583-4-namhyung@kernel.org
tools/perf/util/annotate.c
tools/perf/util/annotate.h