From 891c6b911ef584ad63641af212ade9153b08001b Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Thu, 4 Oct 2012 21:49:35 +0900 Subject: [PATCH] --- yaml --- r: 333961 b: refs/heads/master c: ae359f193a80e19166efaed7d400d1476057b865 h: refs/heads/master i: 333959: 7da0ea3bef0b4408917f732d6a101eafea19d1c6 v: v3 --- [refs] | 2 +- trunk/tools/perf/util/hist.c | 2 ++ trunk/tools/perf/util/sort.h | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index bde1a4587df9..856255d8bb76 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae0c1f993411d88bf54c9e20a4249ebcc7a041f9 +refs/heads/master: ae359f193a80e19166efaed7d400d1476057b865 diff --git a/trunk/tools/perf/util/hist.c b/trunk/tools/perf/util/hist.c index 236bc9d98ff2..040f34c79a53 100644 --- a/trunk/tools/perf/util/hist.c +++ b/trunk/tools/perf/util/hist.c @@ -325,6 +325,7 @@ struct hist_entry *__hists__add_branch_entry(struct hists *self, .parent = sym_parent, .filtered = symbol__parent_filter(sym_parent), .branch_info = bi, + .hists = self, }; return add_hist_entry(self, &entry, al, period); @@ -346,6 +347,7 @@ struct hist_entry *__hists__add_entry(struct hists *self, .period = period, .parent = sym_parent, .filtered = symbol__parent_filter(sym_parent), + .hists = self, }; return add_hist_entry(self, &entry, al, period); diff --git a/trunk/tools/perf/util/sort.h b/trunk/tools/perf/util/sort.h index 12d634792de5..eb3959b8e9d9 100644 --- a/trunk/tools/perf/util/sort.h +++ b/trunk/tools/perf/util/sort.h @@ -79,6 +79,7 @@ struct hist_entry { struct rb_root sorted_chain; }; struct branch_info *branch_info; + struct hists *hists; struct callchain_root callchain[0]; };