summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 11:54:00 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 22:24:10 -0300
commit5c9dbe6da13398d09efc9ec479194afa6d9ec9e6 (patch)
tree40d24a60af048bef46d01a1d0c0f5bec1ca60380 /tools/perf/util/hist.c
parent4772925885dac93aa5f00d1c1da93277778099cd (diff)
downloadlinux-stable-5c9dbe6da13398d09efc9ec479194afa6d9ec9e6.tar.gz
linux-stable-5c9dbe6da13398d09efc9ec479194afa6d9ec9e6.tar.bz2
linux-stable-5c9dbe6da13398d09efc9ec479194afa6d9ec9e6.zip
perf tools: Remove needless sort.h include directives
Now that sort.h isn't included by any other header, we can check where it is really needed, i.e. we can remove it and be sure that it isn't being obtained indirectly. 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-tom8k0lbsxd9joprr8zpu6w1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r--tools/perf/util/hist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index b526ef3ede98..0978dc4a33db 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -20,6 +20,7 @@
#include <math.h>
#include <inttypes.h>
#include <sys/param.h>
+#include <linux/rbtree.h>
#include <linux/string.h>
#include <linux/time64.h>
#include <linux/zalloc.h>