perf hists: Move sort__has_comm into struct perf_hpp_list
authorJiri Olsa <jolsa@kernel.org>
Tue, 3 May 2016 11:54:48 +0000 (13:54 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 May 2016 00:04:02 +0000 (21:04 -0300)
commit7cecb7fe8388d5c39708d7f07e642ed31bb9d4fe
treef5bef6a75eae94790ad5ebbde1d4a23005f83fd6
parentfa82911a1bdf4f9870ffca097d7fe21128b5639c
perf hists: Move sort__has_comm into struct perf_hpp_list

Now we have sort dimensions private for struct hists,
we need to make dimension booleans hists specific as
well.

Moving sort__has_comm into struct perf_hpp_list.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1462276488-26683-8-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/util/hist.h
tools/perf/util/sort.c
tools/perf/util/sort.h