Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf stat: Remove needless headers from stat.h

Just a forward declaration for 'struct timespec' is needed, ditch the
rest.

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-6shdqw801oqe7ax6r307k27r@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+2 -3
+2 -3
tools/perf/util/stat.h
··· 5 5 #include <linux/types.h> 6 6 #include <stdio.h> 7 7 #include <sys/types.h> 8 - #include <sys/time.h> 9 8 #include <sys/resource.h> 10 - #include <sys/wait.h> 11 9 #include "rblist.h" 12 - #include "perf.h" 13 10 #include "event.h" 11 + 12 + struct timespec; 14 13 15 14 struct stats { 16 15 double n, mean, M2;