Skip to contentSkip to conversation

perf annotate browser: Improve description of '?' hotkey

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 12, 2013 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  fcd9fef9a64b84520852e0247d6796893e28864c
Gitweb:     http://git.kernel.org/tip/fcd9fef9a64b84520852e0247d6796893e28864c
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Wed, 7 Aug 2013 15:55:48 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 7 Aug 2013 17:35:36 -0300

perf annotate browser: Improve description of '?' hotkey

The previous description: "Search previous string" is usually associated with the 'N' following a '/string', the opposite of 'n', which is 'Search next string' in the direction established with '/' or '?'.

So change it to 'Search string backwards', to clarify that.

The 'N' hotkey remains to be implemented with the semantic described above.

Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/ui/browsers/annotate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/ui/browsers/annotate.c +1 -1
index 0f88a77..7d75497 100644
@@ -732,7 +732,7 @@ static int annotate_browser__run(struct annotate_browser *browser,
 		"s             Toggle source code view\n"
 		"/             Search string\n"
 		"r             Run available scripts\n"
-		"?             Search previous string\n");
+		"?             Search string backwards\n");
 			continue;
 		case 'r':
 			{