OSDN Git Service

perf hist: Remove the needless callchain.h include from hist.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 Jan 2019 11:04:58 +0000 (12:04 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
commit71551288d2fde0c24df3c248e3e80be92783376d
treebcb2ba48bf9fc82ef38e89e46112ca38c2a74d90
parentb10ba7f1a278ce04d272b2b662f231552ab000ee
perf hist: Remove the needless callchain.h include from hist.h

Nothing that is provided by callchain.h is used there, just things that
should've be directly included in hist.h, such as rbtree.h and a
map_symbol forward declaration.

Remove it so that we reduce the headers dependency tree.

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-zivvqfx93w5zzur7hr7h0nlh@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.h