]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 6 Mar 2020 13:05:59 +0000 (14:05 +0100)
BugLink: https://bugs.launchpad.net/bugs/1866333
commit 3f7774033e6820d25beee5cf7aefa11d4968b951 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
tools/perf/ui/browsers/hists.c

index 7a7187e069b48adf05ef5498bcaf306b8e6f8119..88c3df24b748c80d9a857c90683d3c5872c7a635 100644 (file)
@@ -3054,6 +3054,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) {
                                /*