Skip to contentSkip to conversation

perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Jan 10, 2020 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

The following commit has been merged into the perf/core branch of tip:

Commit-ID:     3f7774033e6820d25beee5cf7aefa11d4968b951
Gitweb:        https://git.kernel.org/tip/3f7774033e6820d25beee5cf7aefa11d4968b951
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Mon, 16 Dec 2019 13:22:33 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Mon, 06 Jan 2020 11:46:09 -03:00

perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc

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.

Cc Adrian Hunter <[email protected]>
Cc Namhyung Kim <[email protected]>
Fixes 599a2f38a989 ("perf hists browser: Check sort keys before hot key actions")
---
 tools/perf/ui/browsers/hists.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/ui/browsers/hists.c +1 -0
index d4d3558..cfc6172 100644
@@ -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) {
 				/*