Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349966
b: refs/heads/master
c: 3cf0cb1
h: refs/heads/master
v: v3
  • Loading branch information
Stephane Eranian authored and Arnaldo Carvalho de Melo committed Jan 24, 2013
1 parent 4c2ce69 commit 6c0c3ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 865c66c4183aab1d12522ca3ad3a3339d2437e5c
refs/heads/master: 3cf0cb1f899640f1eb8b3984739cfd70375c9c36
8 changes: 8 additions & 0 deletions trunk/tools/perf/util/hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ static struct hist_entry *hist_entry__new(struct hist_entry *template)

if (he->ms.map)
he->ms.map->referenced = true;

if (he->branch_info) {
if (he->branch_info->from.map)
he->branch_info->from.map->referenced = true;
if (he->branch_info->to.map)
he->branch_info->to.map->referenced = true;
}

if (symbol_conf.use_callchain)
callchain_init(he->callchain);

Expand Down

0 comments on commit 6c0c3ca

Please sign in to comment.