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>
This commit is contained in:
Arnaldo Carvalho de Melo 2016-07-06 12:19:19 -03:00
parent 8a15858904
commit 1fbe7df819
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,6 @@
/* For the CLR_() macros */
#include <pthread.h>
#include "evlist.h"
#include "evsel.h"
#include "thread_map.h"

View file

@ -1,3 +1,6 @@
/* For the CPU_* macros */
#include <pthread.h>
#include <api/fs/fs.h>
#include <linux/err.h>
#include "evsel.h"

View file

@ -1,3 +1,6 @@
/* For the CLR_() macros */
#include <pthread.h>
#include <sched.h>
#include "evlist.h"
#include "evsel.h"