Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333968
b: refs/heads/master
c: c4b3535
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Oct 4, 2012
1 parent 6400cd6 commit 26d672c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b24c28f794e1821c1bba3ef7e9e948ab77ee00ac
refs/heads/master: c4b35351ef3145c9abad64999d1de0de1b8361ab
4 changes: 3 additions & 1 deletion trunk/tools/perf/util/hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static struct hist_entry *hist_entry__new(struct hist_entry *template)

if (he != NULL) {
*he = *template;
he->stat.nr_events = 1;

if (he->ms.map)
he->ms.map->referenced = true;
if (symbol_conf.use_callchain)
Expand Down Expand Up @@ -323,6 +323,7 @@ struct hist_entry *__hists__add_branch_entry(struct hists *self,
.level = al->level,
.stat = {
.period = period,
.nr_events = 1,
},
.parent = sym_parent,
.filtered = symbol__parent_filter(sym_parent),
Expand All @@ -348,6 +349,7 @@ struct hist_entry *__hists__add_entry(struct hists *self,
.level = al->level,
.stat = {
.period = period,
.nr_events = 1,
},
.parent = sym_parent,
.filtered = symbol__parent_filter(sym_parent),
Expand Down

0 comments on commit 26d672c

Please sign in to comment.