]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
perf tests cpumap: Add missing headers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jul 2016 14:32:29 +0000 (11:32 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:19:56 +0000 (15:19 -0300)
It was getting all sort of needed stuff by sheer luck, via indirect
includes, fix it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
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-tvjgo39t8k0ye6dntv3knran@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/cpumap.c

index c9ec5f83e42c98258b12beda4362210f794aa1a6..f168a85992d0ca3fec6c5abe4f2fd0efc3917224 100644 (file)
@@ -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,