]> git.itanic.dy.fi Git - linux-stable/commit
perf annotate: Move some source code related fields from 'struct annotation' to ...
authorNamhyung Kim <namhyung@kernel.org>
Fri, 3 Nov 2023 19:19:06 +0000 (12:19 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Nov 2023 16:49:33 +0000 (13:49 -0300)
commit0aae4c99c5f8f748c6cb5ca03bb3b3ae8cfb10df
treef4839ac7b9524b050211309de538bfd34843bc98
parent2b215ec71b888ec2f3ca86846ce3a7f20b0d5e4d
perf annotate: Move some source code related fields from 'struct annotation' to 'struct annotated_source'

Some fields in the 'struct annotation' are only used with 'struct
annotated_source' so better to be moved there in order to reduce memory
consumption for other symbols.

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-5-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