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


Groups > linux.kernel > #1449615

[PATCH 05/11] perf tests kmod-path: Fix build on ubuntu:16.04-x-armhf

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 05/11] perf tests kmod-path: Fix build on ubuntu:16.04-x-armhf
Date 2016-07-25 18:00 +0200
Message-ID <rYQsr-6og-47@gated-at.bofh.it> (permalink)
References <rYQsq-6og-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnaldo Carvalho de Melo <acme@redhat.com>

Cross building it on Ubuntu 16.04 to ARM ends up showing we get
the free() prototype by luck in other environments, 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-0ktfgmmyhcfw8ondka2013f3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/tests/kmod-path.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/tests/kmod-path.c b/tools/perf/tests/kmod-path.c
index d2af78193153..76f41f249944 100644
--- a/tools/perf/tests/kmod-path.c
+++ b/tools/perf/tests/kmod-path.c
@@ -1,4 +1,5 @@
 #include <stdbool.h>
+#include <stdlib.h>
 #include "tests.h"
 #include "dso.h"
 #include "debug.h"
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL 00/11] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-25 18:00 +0200
  [PATCH 05/11] perf tests kmod-path: Fix build on ubuntu:16.04-x-armhf Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-25 18:00 +0200
  [PATCH 03/11] perf tools: Add AVX-512 support to the instruction decoder used by Intel PT Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-25 18:00 +0200
  [PATCH 09/11] tools build: Fix objtool build with ARCH=x86_64 Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-25 18:00 +0200
  Re: [GIT PULL 00/11] perf/core improvements and fixes Ingo Molnar <mingo@kernel.org> - 2016-07-25 19:50 +0200

csiph-web