perf hists browser: Only 'Zoom into thread' only when sort order has 'pid'
authorNamhyung Kim <namhyung@kernel.org>
Thu, 21 Jan 2016 22:13:24 +0000 (19:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Jan 2016 14:52:49 +0000 (11:52 -0300)
commit2eafd410e669c744208f8110940e42caa7d79447
treefd93d2fbe6d4b318dfac0e185b4ac657655ba324
parentcfd92dadc5e830268036efb25ff41618f29c3306
perf hists browser: Only 'Zoom into thread' only when sort order has 'pid'

We can't offer a zoom into thread when a bucket (struct hist_entry) may
have samples for more than one thread, i.e. when 'pid' is not part of
the sort order, 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 ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
This page took 0.026124 seconds and 5 git commands to generate.