]> git.itanic.dy.fi Git - linux-stable/commit
perf annotate: Get rid of local annotation options
authorNamhyung Kim <namhyung@kernel.org>
Tue, 28 Nov 2023 17:54:41 +0000 (09:54 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Dec 2023 20:18:50 +0000 (17:18 -0300)
commit327f7533cc596427b62f431c8852951412b6c0dc
treedf755226e7f9576a52ea6c9cec173a2fa4b63403
parent2fa21d694c63081f26444847c916e5fc83bcefa1
perf annotate: Get rid of local annotation options

It doesn't need the option in the struct annotation which is allocated
for each symbol.  It can directly use the global options and save 8
bytes per symbol.

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