perf annotate: Sort by hottest lines in the TUI
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 9 Aug 2010 18:30:40 +0000 (15:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Aug 2010 19:11:42 +0000 (16:11 -0300)
commit92221162875ec48913d3f9710046e48d599c9cf2
tree891aeb2c50777478aaf0cd5a2537db65f6b7d2ae
parent1e6dd077a880ba5570beb690523b7a78a91a7615
perf annotate: Sort by hottest lines in the TUI

Right now it will just sort and position at the hottest line, i.e.
the one where more samples were taken.

It will be at the center of the screen and later TAB/shift-TAB will
cycle thru the hottest lines.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/util/hist.c
tools/perf/util/hist.h
tools/perf/util/ui/browsers/annotate.c