projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e3311
)
perf stat: Remove needless headers from stat.h
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 22 Aug 2019 17:35:55 +0000
(14:35 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 26 Aug 2019 11:36:25 +0000
(08:36 -0300)
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>
tools/perf/util/stat.h
patch
|
blob
|
history
diff --git
a/tools/perf/util/stat.h
b/tools/perf/util/stat.h
index bcb376e1b3a7f9db54c4a27e3dd45102eac2317e..9e425ecd82d946087146da75e479d3850553e47e 100644
(file)
--- a/
tools/perf/util/stat.h
+++ b/
tools/perf/util/stat.h
@@
-5,13
+5,12
@@
#include <linux/types.h>
#include <stdio.h>
#include <sys/types.h>
-#include <sys/time.h>
#include <sys/resource.h>
-#include <sys/wait.h>
#include "rblist.h"
-#include "perf.h"
#include "event.h"
+struct timespec;
+
struct stats {
double n, mean, M2;
u64 max, min;