From: Arnaldo Carvalho de Melo Date: Thu, 22 Aug 2019 17:35:55 +0000 (-0300) Subject: perf stat: Remove needless headers from stat.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=38b7b678fe989f9c403c001d96887939aaa1b68a;p=linux.git perf stat: Remove needless headers from stat.h Just a forward declaration for 'struct timespec' is needed, ditch the rest. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-6shdqw801oqe7ax6r307k27r@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h index bcb376e1b3a7f..9e425ecd82d94 100644 --- a/tools/perf/util/stat.h +++ b/tools/perf/util/stat.h @@ -5,13 +5,12 @@ #include #include #include -#include #include -#include #include "rblist.h" -#include "perf.h" #include "event.h" +struct timespec; + struct stats { double n, mean, M2; u64 max, min;