diff options
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 8f73907a959e..f06c10f092ba 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -2406,6 +2406,8 @@ int symbol__init(void) | |||
2406 | if (symbol_conf.initialized) | 2406 | if (symbol_conf.initialized) |
2407 | return 0; | 2407 | return 0; |
2408 | 2408 | ||
2409 | symbol_conf.priv_size = ALIGN(symbol_conf.priv_size, sizeof(u64)); | ||
2410 | |||
2409 | elf_version(EV_CURRENT); | 2411 | elf_version(EV_CURRENT); |
2410 | if (symbol_conf.sort_by_name) | 2412 | if (symbol_conf.sort_by_name) |
2411 | symbol_conf.priv_size += (sizeof(struct symbol_name_rb_node) - | 2413 | symbol_conf.priv_size += (sizeof(struct symbol_name_rb_node) - |