perf sort: Remove needless headers from sort.h, provide fwd struct decls
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 20:11:39 +0000 (17:11 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2019 14:58:29 +0000 (11:58 -0300)
commit185bcb92c80eae2d85ec834ea76a144fd163e2af
tree64e10049c44b9ce01e4193e5894deed9afc2e996
parent97b9d866a66cf9884cea623cde3300073815873d
perf sort: Remove needless headers from sort.h, provide fwd struct decls

Reducing the includes hell a bit more, speeding up the build and
avoiding needless rebuilds when just one of those files gets updated.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-u63el2vqsovsmnhebx1rcixo@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/res_sample.c
tools/perf/ui/browsers/scripts.c
tools/perf/ui/stdio/hist.c
tools/perf/util/callchain.c
tools/perf/util/sort.h