perf top: Replace CTRL+z with 'f' as hotkey for enable/disable events
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: fbb7997e308064a0ea26fb5435ee5fa69a588dac Gitweb: http://git.kernel.org/tip/fbb7997e308064a0ea26fb5435ee5fa69a588dac Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 19 Jun 2015 16:56:04 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Fri, 19 Jun 2015 16:56:04 -0300
perf top: Replace CTRL+z with 'f' as hotkey for enable/disable events
I.e. 'freeze'/'unfreeze', this is because CTRL+z has a well known action, i.e. suspend the app, perf needs to follow that convention, that will be done on a separate patch, tho.
Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-top.c | 2 +- tools/perf/ui/browsers/hists.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
tools/perf/builtin-top.c +1 -1
@@ -591,7 +591,7 @@ static void *display_thread_tui(void *arg) top->min_percent, &top->session->header.env); -if (key !=CTRL ('z' )) +if (key !='f' )break ;perf_evlist__toggle_enable (top->evlist);
tools/perf/ui/browsers/hists.c +2 -2
@@ -1736,7 +1736,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,"t Zoom into current Thread\n" "V Verbose (DSO names in callchains, etc)\n" "z Toggle zeroing of samples\n" -"CTRL+z Enable/Disable events\n" +"f Enable/Disable events\n" "/ Filter symbol by name" ;if (browser ==NULL )
@@ -1901,7 +1901,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,/* Fall thru */ case 'q' :case CTRL ('c' ): -case CTRL ('z' ): +case 'f' : goto out_free_stack;default :continue ;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/