diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-08-09 14:30:40 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-08-10 15:11:42 -0400 |
commit | 92221162875ec48913d3f9710046e48d599c9cf2 (patch) | |
tree | 891aeb2c50777478aaf0cd5a2537db65f6b7d2ae /tools/perf/builtin-annotate.c | |
parent | 1e6dd077a880ba5570beb690523b7a78a91a7615 (diff) |
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>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index fd20670ce986..1478dc64bf15 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -285,7 +285,7 @@ static int hist_entry__tty_annotate(struct hist_entry *he) | |||
285 | LIST_HEAD(head); | 285 | LIST_HEAD(head); |
286 | struct objdump_line *pos, *n; | 286 | struct objdump_line *pos, *n; |
287 | 287 | ||
288 | if (hist_entry__annotate(he, &head) < 0) | 288 | if (hist_entry__annotate(he, &head, 0) < 0) |
289 | return -1; | 289 | return -1; |
290 | 290 | ||
291 | if (full_paths) | 291 | if (full_paths) |