perf report/top TUI: Support hotkey 'a' for annotation of unresolved addresses
authorJin Yao <yao.jin@linux.intel.com>
Thu, 27 Feb 2020 04:39:39 +0000 (12:39 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Mar 2020 12:37:27 +0000 (09:37 -0300)
commitec0479a63b7657e57665a9fc81d11a99131cfc62
treeb52b03ca92006b4ce5a3820c584a48a1e1cc29a1
parent7b0a0dcb64705d1dbed46d33c9810251667469b9
perf report/top TUI: Support hotkey 'a' for annotation of unresolved addresses

In previous patch, we have supported the annotation functionality even
without symbols.

For this patch, it supports the hotkey 'a' on address in report view.
Note that, for branch mode, we only support the annotation for "branch
to" address.

Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200227043939.4403-4-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c