aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/bench/futex-requeue.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-07-07 14:01:46 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-07-12 18:19:54 +0000
commit9c304f6c715f1849bb5b0d450a600dc731a80bda (patch)
treed68d93109134bafe3f40033ac390acb2c25c9794 /tools/perf/bench/futex-requeue.c
parentperf tests openat-syscall-tp-fields: Add some conditional defines (diff)
downloadkernel-9c304f6c715f1849bb5b0d450a600dc731a80bda.tar.gz
kernel-9c304f6c715f1849bb5b0d450a600dc731a80bda.zip
perf bench: Disentangle headers
We should try avoiding that perf.h header, it includes way too much stuff, making it difficult to use things like setting _GNU_SOURCE only on a small set of headers. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Hitoshi Mitake <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/bench/futex-requeue.c')
-rw-r--r--tools/perf/bench/futex-requeue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/bench/futex-requeue.c b/tools/perf/bench/futex-requeue.c
index 7d9712c8ff01..7eceb0500900 100644
--- a/tools/perf/bench/futex-requeue.c
+++ b/tools/perf/bench/futex-requeue.c
@@ -11,11 +11,11 @@
/* For the CLR_() macros */
#include <pthread.h>
-#include "../perf.h"
-#include "../util/util.h"
+#include <signal.h>
#include "../util/stat.h"
#include <subcmd/parse-options.h>
-#include "../util/header.h"
+#include <linux/kernel.h>
+#include <errno.h>
#include "bench.h"
#include "futex.h"