Skip to contentSkip to conversation

perf annotate browser: Help for cycling thru hottest instructions with TAB/shift+TAB

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Sep 5, 2017 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  eba9fac017617e685d648339e29a1453a30cb065
Gitweb:     http://git.kernel.org/tip/eba9fac017617e685d648339e29a1453a30cb065
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Fri, 1 Sep 2017 14:55:40 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 1 Sep 2017 14:55:40 -0300

perf annotate browser: Help for cycling thru hottest instructions with TAB/shift+TAB

The popup help accessed via 'h' wasn't mentioning about TAB and shift-TAB, just about 'H', which goes to the hottest line, while the former two are the hotkeys for actually cycling thru the hottest lines.

---
 tools/perf/ui/browsers/annotate.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/perf/ui/browsers/annotate.c +2 -1
index ba0aee5..786feca 100644
@@ -829,7 +829,8 @@ static int annotate_browser__run(struct annotate_browser *browser,
 		"q/ESC/CTRL+C  Exit\n\n"
 		"ENTER         Go to target\n"
 		"ESC           Exit\n"
-		"H             Cycle thru hottest instructions\n"
+		"H             Go to hottest instruction\n"
+		"TAB/shift+TAB Cycle thru hottest instructions\n"
 		"j             Toggle showing jump to target arrows\n"
 		"J             Toggle showing number of jump sources on targets\n"
 		"n             Search next string\n"