perf annotate: Show full source location with 'l' hotkey
authorMartin Liska <mliska@suse.cz>
Mon, 15 Feb 2021 11:34:46 +0000 (12:34 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 6 Mar 2021 19:42:31 +0000 (16:42 -0300)
commit2777b81b379df772defd654bc4d3fa82dca17a4b
tree7354e721f5547387f160c9758911529754965aed
parenta78e724f4eb487517f03a6044d7a554c8823fe49
perf annotate: Show full source location with 'l' hotkey

Right now, when Line numbers are displayed, one can't easily find a
source file that the line corresponds to.

When a source line is selected and 'l' is pressed, full source file
location is displayed in perf UI footer line. The hotkey works only for
source code lines.

Signed-off-by: Martin Liška <mliska@suse.cz>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: http://lore.kernel.org/lkml/25a6384f-d862-5dda-4fec-8f0555599c75@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h