diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 8f73907a959eaa2a27125dea11bc6248786c683d..f06c10f092ba53036a379a3c05983e3e928808aa 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -2406,6 +2406,8 @@ int symbol__init(void) if (symbol_conf.initialized) return 0; + symbol_conf.priv_size = ALIGN(symbol_conf.priv_size, sizeof(u64)); + elf_version(EV_CURRENT); if (symbol_conf.sort_by_name) symbol_conf.priv_size += (sizeof(struct symbol_name_rb_node) -