perf hists: Don't free decayed entries if in the annotation browser
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Oct 2011 11:01:33 +0000 (08:01 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Oct 2011 11:01:33 +0000 (08:01 -0300)
commitdf71d95f86ec7310722f96b6902699f3fe30b439
tree39bb03df54fc25cb8032a65f8386585813f50a57
parent900e14a8f5a49e987790b93c7906989b22075f1b
perf hists: Don't free decayed entries if in the annotation browser

Just let it there till the user exits the annotation browser.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-nmaxuzreqhm5k10t2co5sk9a@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c
tools/perf/util/sort.h
tools/perf/util/ui/browsers/hists.c