projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8d5a3
)
perf mmap: Remove several unneeded includes from util/mmap.h
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 27 Oct 2022 20:42:52 +0000
(17:42 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 31 Oct 2022 14:07:14 +0000
(11:07 -0300)
Those headers are not needed in util/mmap.h, remove them.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/mmap.h
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/mmap.h
b/tools/perf/util/mmap.h
index cd4ccec7f361761b1bdff734dea35da7ea263f8e..f944c3cd5efa0b04c8e870b834c40f4fdcaa4f1d 100644
(file)
--- a/
tools/perf/util/mmap.h
+++ b/
tools/perf/util/mmap.h
@@
-2,18
+2,13
@@
#define __PERF_MMAP_H 1
#include <internal/mmap.h>
-#include <linux/compiler.h>
-#include <linux/refcount.h>
#include <linux/types.h>
-#include <linux/ring_buffer.h>
#include <linux/bitops.h>
#include <perf/cpumap.h>
-#include <stdbool.h>
#ifdef HAVE_AIO_SUPPORT
#include <aio.h>
#endif
#include "auxtrace.h"
-#include "event.h"
#include "util/compress.h"
struct aiocb;