diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 4b995ee099cf..568b1950e632 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -1473,6 +1473,8 @@ int cmd_top(int argc, const char **argv, const char *prefix __used) | |||
1473 | pos->attr.sample_period = default_interval; | 1473 | pos->attr.sample_period = default_interval; |
1474 | } | 1474 | } |
1475 | 1475 | ||
1476 | sym_evsel = list_entry(evsel_list.next, struct perf_evsel, node); | ||
1477 | |||
1476 | symbol_conf.priv_size = (sizeof(struct sym_entry) + | 1478 | symbol_conf.priv_size = (sizeof(struct sym_entry) + |
1477 | (nr_counters + 1) * sizeof(unsigned long)); | 1479 | (nr_counters + 1) * sizeof(unsigned long)); |
1478 | 1480 | ||