diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-06 11:14:56 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-12 14:19:52 -0400 |
commit | 8a15858904c803450b6763d09f53d9a1dc7ab1c3 (patch) | |
tree | 604ad7f2440a77150461ca57c6a828402073dd61 /tools/perf/bench/numa.c | |
parent | c8b5f2c96d1bf6cefcbe12f67dce0b892fe20512 (diff) |
perf bench: Add missing pthread.h include for CPU_*() macros
Cc: David Ahern <dsahern@gmail.com>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-48qbfv7tqs8n8ey74lbyfjtq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench/numa.c')
-rw-r--r-- | tools/perf/bench/numa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index 7500d959d7eb..f7f530081aa9 100644 --- a/tools/perf/bench/numa.c +++ b/tools/perf/bench/numa.c | |||
@@ -4,6 +4,9 @@ | |||
4 | * numa: Simulate NUMA-sensitive workload and measure their NUMA performance | 4 | * numa: Simulate NUMA-sensitive workload and measure their NUMA performance |
5 | */ | 5 | */ |
6 | 6 | ||
7 | /* For the CLR_() macros */ | ||
8 | #include <pthread.h> | ||
9 | |||
7 | #include "../perf.h" | 10 | #include "../perf.h" |
8 | #include "../builtin.h" | 11 | #include "../builtin.h" |
9 | #include "../util/util.h" | 12 | #include "../util/util.h" |
@@ -21,7 +24,6 @@ | |||
21 | #include <stdlib.h> | 24 | #include <stdlib.h> |
22 | #include <string.h> | 25 | #include <string.h> |
23 | #include <unistd.h> | 26 | #include <unistd.h> |
24 | #include <pthread.h> | ||
25 | #include <sys/mman.h> | 27 | #include <sys/mman.h> |
26 | #include <sys/time.h> | 28 | #include <sys/time.h> |
27 | #include <sys/resource.h> | 29 | #include <sys/resource.h> |