Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1442074 > unrolled thread

[tip:perf/core] perf tests cpumap: Add missing headers

Started bytip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
First post2016-07-13 09:20 +0200
Last post2016-07-13 09:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [tip:perf/core] perf tests cpumap: Add missing headers tip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com> - 2016-07-13 09:20 +0200

#1442074 — [tip:perf/core] perf tests cpumap: Add missing headers

Fromtip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
Date2016-07-13 09:20 +0200
Subject[tip:perf/core] perf tests cpumap: Add missing headers
Message-ID<rUmCC-8ei-37@gated-at.bofh.it>
Commit-ID:  3ac55b1df0a7c5fb92890b23a620165b82f45c8a
Gitweb:     http://git.kernel.org/tip/3ac55b1df0a7c5fb92890b23a620165b82f45c8a
Author:     Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Thu, 7 Jul 2016 11:32:29 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
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 <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 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/perf/tests/cpumap.c b/tools/perf/tests/cpumap.c
index c9ec5f8..f168a85 100644
--- a/tools/perf/tests/cpumap.c
+++ b/tools/perf/tests/cpumap.c
@@ -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,

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web