diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-12-16 13:22:33 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-11 07:53:08 +0100 |
commit | c628c4674d5912946aa2af6f68dcab52a9de49cd (patch) | |
tree | cac366ec594a996e5d5818c8aa2a7197b35bb3d6 /tools | |
parent | dd34f48c2e93493c420ad6c80b792c580e6e2dd0 (diff) | |
download | linux-stable-c628c4674d5912946aa2af6f68dcab52a9de49cd.tar.gz linux-stable-c628c4674d5912946aa2af6f68dcab52a9de49cd.tar.bz2 linux-stable-c628c4674d5912946aa2af6f68dcab52a9de49cd.zip |
perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/ui/browsers/hists.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index a53fef0c673b..ade6abda9f46 100644 --- a/tools/perf/ui/browsers/hists.c +++ b/tools/perf/ui/browsers/hists.c @@ -2930,6 +2930,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events, continue; } + actions->ms.map = map; top = pstack__peek(browser->pstack); if (top == &browser->hists->dso_filter) { /* |