mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
perf annotate: Do not jump after 'k' is pressed
Do not jump when 'k' is pressed, the cursor show stay where it is. Right now, it jumps to the currently selected hot instruction. Signed-off-by: Martin Liška <mliska@suse.cz> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: http://lore.kernel.org/lkml/65416cff-4eb6-713c-a174-2aa43fa64332@suse.cz Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
15bebcd72b
commit
4fd008476c
@ -759,7 +759,7 @@ static int annotate_browser__run(struct annotate_browser *browser,
|
||||
continue;
|
||||
case 'k':
|
||||
notes->options->show_linenr = !notes->options->show_linenr;
|
||||
break;
|
||||
continue;
|
||||
case 'H':
|
||||
nd = browser->curr_hot;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user