[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-347078mgj3d2jfygtxs4ntti@git.kernel.org>
Date: Wed, 3 Jul 2019 07:12:00 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org, tglx@...utronix.de,
jolsa@...nel.org, hpa@...or.com, namhyung@...nel.org,
adrian.hunter@...el.com, acme@...hat.com
Subject: [tip:perf/core] tools x86 machine: Add missing util.h to pick up
'page_size'
Commit-ID: af41949d9e022f4e37d476505e406c87479862ab
Gitweb: https://git.kernel.org/tip/af41949d9e022f4e37d476505e406c87479862ab
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Tue, 25 Jun 2019 18:01:47 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 25 Jun 2019 18:01:47 -0300
tools x86 machine: Add missing util.h to pick up 'page_size'
We're getting it by sheer luck, add that util.h to get the 'page_size'
definition.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Link: https://lkml.kernel.org/n/tip-347078mgj3d2jfygtxs4ntti@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/arch/x86/util/machine.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/arch/x86/util/machine.c b/tools/perf/arch/x86/util/machine.c
index 4520ac53caa9..0e508f26f83a 100644
--- a/tools/perf/arch/x86/util/machine.c
+++ b/tools/perf/arch/x86/util/machine.c
@@ -3,6 +3,7 @@
#include <linux/string.h>
#include <stdlib.h>
+#include "../../util/util.h"
#include "../../util/machine.h"
#include "../../util/map.h"
#include "../../util/symbol.h"
Powered by blists - more mailing lists