]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
perf tools: Mark branch_info maps as referenced
authorStephane Eranian <eranian@google.com>
Mon, 14 Jan 2013 14:02:45 +0000 (15:02 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:38 +0000 (16:40 -0300)
commit3cf0cb1f899640f1eb8b3984739cfd70375c9c36
treeaf0c4e5487e91bfa05d8a94ad4fd2675a9e72bbf
parent865c66c4183aab1d12522ca3ad3a3339d2437e5c
perf tools: Mark branch_info maps as referenced

As noticed by Jiri, the hist_entry->branch_info.to/from maps need to be
marked as referenced to avoid problems later on.  So we do this when the
hist_entry is allocated.

Signed-off-by: Stephane Eranian <eranian@google.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130114140245.GA4692@quad
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c