diff options
| author | 2015-06-19 16:56:04 -0300 | |
|---|---|---|
| committer | 2015-06-19 16:56:04 -0300 | |
| commit | fbb7997e308064a0ea26fb5435ee5fa69a588dac (patch) | |
| tree | 58c4b90b4c8e2cdcace52131d586a5e7d67ff9dd /tools/perf/builtin-top.c | |
| parent | perf annotate: Rename source_line_percent to source_line_samples (diff) | |
| download | linux-dev-fbb7997e308064a0ea26fb5435ee5fa69a588dac.tar.xz linux-dev-fbb7997e308064a0ea26fb5435ee5fa69a588dac.zip | |
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 <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-oedcl6ovohara4koig14ayip@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
| -rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 72d8a7ae5986..ccf569ab08aa 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -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); |
