perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 16 Dec 2019 16:22:33 +0000 (13:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Jan 2020 14:46:09 +0000 (11:46 -0300)
We need to set actions->ms.map since 599a2f38a989 ("perf hists browser:
Check sort keys before hot key actions"), as in that patch we bail out
if map is NULL.

Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Fixes: 599a2f38a989 ("perf hists browser: Check sort keys before hot key actions")
Link: https://lkml.kernel.org/n/tip-wp1ssoewy6zihwwexqpohv0j@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c

index d4d3558..cfc6172 100644 (file)
@@ -3062,6 +3062,7 @@ static int perf_evsel__hists_browse(struct evsel *evsel, int nr_events,
 
                                continue;
                        }
+                       actions->ms.map = map;
                        top = pstack__peek(browser->pstack);
                        if (top == &browser->hists->dso_filter) {
                                /*