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


Groups > linux.kernel > #1441864 > unrolled thread

[PATCH 24/66] perf tests x86 rdpmc: Add missing headers

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2016-07-13 01:00 +0200
Last post2016-07-13 01:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 24/66] perf tests x86 rdpmc: Add missing headers Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-13 01:00 +0200

#1441864 — [PATCH 24/66] perf tests x86 rdpmc: Add missing headers

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2016-07-13 01:00 +0200
Subject[PATCH 24/66] perf tests x86 rdpmc: Add missing headers
Message-ID<rUeOK-2RS-27@gated-at.bofh.it>
From: Arnaldo Carvalho de Melo <acme@redhat.com>

Another case of a file using definitions and getting them by chance,
from indirect header inclusion, 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-o3l1vi4gw2w6xyc6z4ig938s@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/arch/x86/tests/rdpmc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/perf/arch/x86/tests/rdpmc.c b/tools/perf/arch/x86/tests/rdpmc.c
index a32d72e91ffa..500cf96db979 100644
--- a/tools/perf/arch/x86/tests/rdpmc.c
+++ b/tools/perf/arch/x86/tests/rdpmc.c
@@ -1,12 +1,16 @@
+#include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <signal.h>
 #include <sys/mman.h>
+#include <sys/types.h>
+#include <sys/wait.h>
 #include <linux/types.h>
 #include "perf.h"
 #include "debug.h"
 #include "tests/tests.h"
 #include "cloexec.h"
+#include "util.h"
 #include "arch-tests.h"
 
 static u64 rdpmc(unsigned int counter)
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web