diff options
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r-- | tools/perf/util/hist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 236bc9d98ff2..040f34c79a53 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c | |||
@@ -325,6 +325,7 @@ struct hist_entry *__hists__add_branch_entry(struct hists *self, | |||
325 | .parent = sym_parent, | 325 | .parent = sym_parent, |
326 | .filtered = symbol__parent_filter(sym_parent), | 326 | .filtered = symbol__parent_filter(sym_parent), |
327 | .branch_info = bi, | 327 | .branch_info = bi, |
328 | .hists = self, | ||
328 | }; | 329 | }; |
329 | 330 | ||
330 | return add_hist_entry(self, &entry, al, period); | 331 | return add_hist_entry(self, &entry, al, period); |
@@ -346,6 +347,7 @@ struct hist_entry *__hists__add_entry(struct hists *self, | |||
346 | .period = period, | 347 | .period = period, |
347 | .parent = sym_parent, | 348 | .parent = sym_parent, |
348 | .filtered = symbol__parent_filter(sym_parent), | 349 | .filtered = symbol__parent_filter(sym_parent), |
350 | .hists = self, | ||
349 | }; | 351 | }; |
350 | 352 | ||
351 | return add_hist_entry(self, &entry, al, period); | 353 | return add_hist_entry(self, &entry, al, period); |