perf annotate: Do not jump after 'k' is pressed
authorMartin Liška <mliska@suse.cz>
Mon, 15 Feb 2021 12:45:25 +0000 (13:45 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Feb 2021 18:25:18 +0000 (15:25 -0300)
commit4fd008476c46422bb25451c90b74d99daa5382ff
treebf4bb97b34d84e9ff515c9b70e9b204e70af1777
parent15bebcd72bf5bbc1e83805c939bc0d18994afba1
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>
tools/perf/ui/browsers/annotate.c