[lkml]   [2015]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[tip:perf/urgent] perf hists browser: Fix 'd' hotkey action to filter by DSO
Commit-ID:  fae00650f7910da7064f45d49c95df88fab816f6
Author: Arnaldo Carvalho de Melo <>
AuthorDate: Thu, 12 Nov 2015 15:59:26 -0300
Committer: Arnaldo Carvalho de Melo <>
CommitDate: Thu, 12 Nov 2015 18:58:17 -0300

perf hists browser: Fix 'd' hotkey action to filter by DSO

When pressing 'd' the expected action is to filter all entries by the
DSO in the current entry, but for that the action->map needs to be set,
and only action->dso was being set, fix it.

Cc: Adrian Hunter <>
Cc: David Ahern <>
Cc: Jiri Olsa <>
Cc: Namhyung Kim <>
Cc: Wang Nan <>
Fixes: 045b80dd0340 ("perf hists browser: Use the map to determine if a DSO is being used as a kernel")
Signed-off-by: Arnaldo Carvalho de Melo <>
tools/perf/ui/browsers/hists.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c
index e5afb89..a7ce0cf 100644
--- a/tools/perf/ui/browsers/hists.c
+++ b/tools/perf/ui/browsers/hists.c
@@ -1875,6 +1875,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
case 'd':
actions->dso = dso;
+ actions-> = map;
do_zoom_dso(browser, actions);
case 'V':

 \ /
  Last update: 2015-11-16 12:01    [W:0.019 / U:18.636 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site