diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-06 11:19:19 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-12 14:19:53 -0400 |
commit | 1fbe7df819d9958f139b87014a2f0d5b34da76d5 (patch) | |
tree | d0bcb6cac2d55b457b04b121c6d97b0e0890ff6d /tools/perf/tests/mmap-basic.c | |
parent | 8a15858904c803450b6763d09f53d9a1dc7ab1c3 (diff) |
perf tests: Add missing pthread.h include for CPU_*() macros
Cc: David Ahern <dsahern@gmail.com>
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-dfcynqzvecsu55zmpxub9jgv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/mmap-basic.c')
-rw-r--r-- | tools/perf/tests/mmap-basic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/mmap-basic.c b/tools/perf/tests/mmap-basic.c index 5c9b931b7b66..634bce9caebd 100644 --- a/tools/perf/tests/mmap-basic.c +++ b/tools/perf/tests/mmap-basic.c | |||
@@ -1,3 +1,6 @@ | |||
1 | /* For the CLR_() macros */ | ||
2 | #include <pthread.h> | ||
3 | |||
1 | #include "evlist.h" | 4 | #include "evlist.h" |
2 | #include "evsel.h" | 5 | #include "evsel.h" |
3 | #include "thread_map.h" | 6 | #include "thread_map.h" |