Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+9
+3
tools/perf/tests/mmap-basic.c
··· 1 + /* For the CLR_() macros */ 2 + #include <pthread.h> 3 + 1 4 #include "evlist.h" 2 5 #include "evsel.h" 3 6 #include "thread_map.h"
+3
tools/perf/tests/openat-syscall-all-cpus.c
··· 1 + /* For the CPU_* macros */ 2 + #include <pthread.h> 3 + 1 4 #include <api/fs/fs.h> 2 5 #include <linux/err.h> 3 6 #include "evsel.h"
+3
tools/perf/tests/perf-record.c
··· 1 + /* For the CLR_() macros */ 2 + #include <pthread.h> 3 + 1 4 #include <sched.h> 2 5 #include "evlist.h" 3 6 #include "evsel.h"