aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-11-28 17:54:41 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-12-07 20:18:50 +0000
commit327f7533cc596427b62f431c8852951412b6c0dc (patch)
treedf755226e7f9576a52ea6c9cec173a2fa4b63403 /tools/perf/util/annotate.h
parentperf annotate: Remove remaining usages of local annotation options (diff)
downloadkernel-327f7533cc596427b62f431c8852951412b6c0dc.tar.gz
kernel-327f7533cc596427b62f431c8852951412b6c0dc.zip
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 <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index 6d5a6bb49a97..589f8aaf0236 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -294,7 +294,6 @@ struct annotated_branch {
struct LOCKABLE annotation {
u64 start;
- struct annotation_options *options;
int nr_events;
int max_jump_sources;
struct {