diff --git a/[refs] b/[refs] index 3fa22824ad6d..f9392b564b43 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 865c66c4183aab1d12522ca3ad3a3339d2437e5c +refs/heads/master: 3cf0cb1f899640f1eb8b3984739cfd70375c9c36 diff --git a/trunk/tools/perf/util/hist.c b/trunk/tools/perf/util/hist.c index 9485c7024f5b..8170a3d11ffa 100644 --- a/trunk/tools/perf/util/hist.c +++ b/trunk/tools/perf/util/hist.c @@ -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);