aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index cfc655d40bb7..cd16e6a7d6d0 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -56,7 +56,8 @@ static int perf_session__add_hist_entry(struct perf_session *self,
56 if ((sort__has_parent || symbol_conf.use_callchain) && chain) 56 if ((sort__has_parent || symbol_conf.use_callchain) && chain)
57 syms = perf_session__resolve_callchain(self, al->thread, 57 syms = perf_session__resolve_callchain(self, al->thread,
58 chain, &parent); 58 chain, &parent);
59 he = __perf_session__add_hist_entry(self, al, parent, count, &hit); 59 he = __perf_session__add_hist_entry(&self->hists, al, parent,
60 count, &hit);
60 if (he == NULL) 61 if (he == NULL)
61 return -ENOMEM; 62 return -ENOMEM;
62 63