perf hists browser: Fix 'd' hotkey action to filter by DSO
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 12 Nov 2015 18:59:26 +0000 (15:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 12 Nov 2015 21:58:17 +0000 (18:58 -0300)
commitfae00650f7910da7064f45d49c95df88fab816f6
treea44fdb13406d6003366479b83af79aa96b733e49
parent866548dd6e22c3795ae5146a9746a5cf659698f1
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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Fixes: 045b80dd0340 ("perf hists browser: Use the map to determine if a DSO is being used as a kernel")
Link: http://lkml.kernel.org/n/tip-xqhfzgoblq49lk5h5u82atro@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c