Namhyung Kim b1447a54f5 perf hists browser: Offer 'Zoom into DSO'/'Map details' only when sort order has 'dso'
We can't offer a zoom into DSO when a bucket (struct hist_entry) may
have samples for more than one DSO, i.e. when 'dso' is not part of
the sort order, ditto for 'Map details', fix it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>,
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1452960197-5323-9-git-send-email-namhyung@kernel.org
[ Carved out from a  larger patch, moved check to add_{dso,map}_opt() ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-01-26 11:52:50 -03:00
..
2013-12-27 15:17:00 -03:00
2015-12-07 18:13:00 -03:00
2015-12-17 14:27:14 -03:00
2015-12-17 14:27:14 -03:00
2015-12-17 14:27:14 -03:00
2015-05-27 12:21:43 -03:00
2015-12-17 14:27:14 -03:00
2012-02-13 23:17:40 -02:00
2015-08-06 15:30:38 -03:00
2015-08-06 15:30:38 -03:00
2016-01-26 11:52:45 -03:00
2016-01-26 11:52:45 -03:00
2015-08-21 11:34:10 -03:00
2015-08-06 16:49:01 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2014-07-10 00:22:54 +02:00
2014-05-01 21:22:39 +02:00
2014-07-23 11:48:11 -03:00
2014-07-23 11:48:11 -03:00
2014-05-01 21:22:39 +02:00
2015-05-29 12:43:44 -03:00