aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/hists.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2015-03-17 16:18:58 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-03-17 16:18:58 -0400
commit4c47f4fcd60a2f4153d6fe0c31650fbec112a1bd (patch)
treecdfc1d582eea5c7849b3437a404536036226ffa2 /tools/perf/ui/browsers/hists.c
parent446fb96c4a72ba390fbdecf27a88eaa50ea179dc (diff)
perf hists: Remove hist_entry->used, not used anymore
Since hist_entry__delete() nowadays doesn't actually frees anything that may be in use by the annotation code. Eventually we will solve this for good by reference counting struct symbol. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-uldtgljymtrkns0knpiso5op@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/browsers/hists.c')
-rw-r--r--tools/perf/ui/browsers/hists.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c
index ebd9d3afe2d6..c37e70ae0b20 100644
--- a/tools/perf/ui/browsers/hists.c
+++ b/tools/perf/ui/browsers/hists.c
@@ -1731,12 +1731,7 @@ do_annotate:
1731 if (!notes->src) 1731 if (!notes->src)
1732 continue; 1732 continue;
1733 1733
1734 /*
1735 * Don't let this be freed, say, by hists__decay_entry.
1736 */
1737 he->used = true;
1738 err = hist_entry__tui_annotate(he, evsel, hbt); 1734 err = hist_entry__tui_annotate(he, evsel, hbt);
1739 he->used = false;
1740 /* 1735 /*
1741 * offer option to annotate the other branch source or target 1736 * offer option to annotate the other branch source or target
1742 * (if they exists) when returning from annotate 1737 * (if they exists) when returning from annotate