mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
1e6dd077a8
commit
9222116287
4 changed files with 129 additions and 50 deletions
|
@ -285,7 +285,7 @@ static int hist_entry__tty_annotate(struct hist_entry *he)
|
|||
LIST_HEAD(head);
|
||||
struct objdump_line *pos, *n;
|
||||
|
||||
if (hist_entry__annotate(he, &head) < 0)
|
||||
if (hist_entry__annotate(he, &head, 0) < 0)
|
||||
return -1;
|
||||
|
||||
if (full_paths)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue