perf tests cpumap: Add missing headers
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 3ac55b1df0a7c5fb92890b23a620165b82f45c8a Gitweb: http://git.kernel.org/tip/3ac55b1df0a7c5fb92890b23a620165b82f45c8a Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Thu, 7 Jul 2016 11:32:29 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 12 Jul 2016 15:19:56 -0300
perf tests cpumap: Add missing headers
It was getting all sort of needed stuff by sheer luck, via indirect includes, fix it.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/tests/cpumap.c | 7 +++++++ 1 file changed, 7 insertions(+)
tools/perf/tests/cpumap.c +7 -0
@@ -1,5 +1,12 @@#include "tests.h" +#include <stdio.h> #include "cpumap.h" +#include "event.h" +#include <string.h> +#include <linux/bitops.h> +#include "debug.h" + +struct machine ; static int process_event_mask(struct perf_tool *tool __maybe_unused, union perf_event *event,