[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-lholzf472pu98dkkijggwx2m@git.kernel.org>
Date: Fri, 19 Jun 2015 16:16:49 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, bp@...e.de, jolsa@...hat.com,
fweisbec@...il.com, adrian.hunter@...el.com, dzickus@...hat.com,
acme@...hat.com, namhyung@...nel.org, mingo@...nel.org,
dsahern@...il.com, eranian@...gle.com,
linux-kernel@...r.kernel.org, hpa@...or.com
Subject: [tip:perf/core] perf hists browser: Do not exit when 'f'
is pressed in 'report' mode
Commit-ID: 516e536849d26a2bcacd9050f4a7222a14c0f9e4
Gitweb: http://git.kernel.org/tip/516e536849d26a2bcacd9050f4a7222a14c0f9e4
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Fri, 19 Jun 2015 16:59:43 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 19 Jun 2015 16:59:43 -0300
perf hists browser: Do not exit when 'f' is pressed in 'report' mode
The 'f' hotkey is only used when in 'top', dynamic mode, to
enable/disable events, currently not making sense in the 'report',
static mode, where we can't go from showing the histogram entries
created from a perf.data file to adding more events after recreating the
evlist created from the perf.data file, albeit possible, this is not
implemented right now.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Borislav Petkov <bp@...e.de>
Cc: David Ahern <dsahern@...il.com>
Cc: Don Zickus <dzickus@...hat.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Stephane Eranian <eranian@...gle.com>
Link: http://lkml.kernel.org/n/tip-lholzf472pu98dkkijggwx2m@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/ui/browsers/hists.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c
index 764f7ca..79a093a7 100644
--- a/tools/perf/ui/browsers/hists.c
+++ b/tools/perf/ui/browsers/hists.c
@@ -1901,7 +1901,10 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
/* Fall thru */
case 'q':
case CTRL('c'):
+ goto out_free_stack;
case 'f':
+ if (is_report_browser(hbt))
+ continue;
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/
Powered by blists - more mailing lists