diff options
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r-- | tools/perf/perf.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index ebdad3376c67..5aa8ac45082f 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h | |||
@@ -173,9 +173,8 @@ | |||
173 | #include <sys/types.h> | 173 | #include <sys/types.h> |
174 | #include <sys/syscall.h> | 174 | #include <sys/syscall.h> |
175 | 175 | ||
176 | #include <linux/types.h> | ||
176 | #include <linux/perf_event.h> | 177 | #include <linux/perf_event.h> |
177 | #include "util/types.h" | ||
178 | #include <stdbool.h> | ||
179 | 178 | ||
180 | /* | 179 | /* |
181 | * prctl(PR_TASK_PERF_EVENTS_DISABLE) will (cheaply) disable all | 180 | * prctl(PR_TASK_PERF_EVENTS_DISABLE) will (cheaply) disable all |
@@ -202,7 +201,6 @@ static inline unsigned long long rdclock(void) | |||
202 | /* | 201 | /* |
203 | * Pick up some kernel type conventions: | 202 | * Pick up some kernel type conventions: |
204 | */ | 203 | */ |
205 | #define __user | ||
206 | #define asmlinkage | 204 | #define asmlinkage |
207 | 205 | ||
208 | #define unlikely(x) __builtin_expect(!!(x), 0) | 206 | #define unlikely(x) __builtin_expect(!!(x), 0) |