perf hists: Move sort__has_thread into struct perf_hpp_list
authorJiri Olsa <jolsa@kernel.org>
Tue, 3 May 2016 11:54:47 +0000 (13:54 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 May 2016 00:04:01 +0000 (21:04 -0300)
commitfa82911a1bdf4f9870ffca097d7fe21128b5639c
tree0f58b9654df678f6915c99d0d7b51ecf0289a1db
parent35a634f76c02b98d31397a589544022b478c0e12
perf hists: Move sort__has_thread 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_thread 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-7-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