[<prev] [next>] [day] [month] [year] [list]
Message-ID: <156656305132.32129.6341254751718345440.tip-bot2@tip-bot2>
Date: Fri, 23 Aug 2019 12:24:11 -0000
From: tip-bot2 for Arnaldo Carvalho de Melo <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org
Subject: [tip: perf/core] perf evsel: util/evsel.h needs stdio.h as it uses FILE
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 43cc5d5ecbd194a730f3045547afc1fa8e694389
Gitweb: https://git.kernel.org/tip/43cc5d5ecbd194a730f3045547afc1fa8e694389
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Wed, 21 Aug 2019 14:44:25 -03:00
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitterDate: Thu, 22 Aug 2019 17:16:57 -03:00
perf evsel: util/evsel.h needs stdio.h as it uses FILE
And it was getting it by luck from util/cpumap.h that shouldn't be
included in util/evsel.h as it only needs what is in libperf, i.e.
struct cpu_map, that is in internal/cpumap.h, so add stdio.h before
we fix that.
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-2ywx5sl031tj3zske7c7edgv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/evsel.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h
index 1f749a7..cd336cf 100644
--- a/tools/perf/util/evsel.h
+++ b/tools/perf/util/evsel.h
@@ -4,6 +4,7 @@
#include <linux/list.h>
#include <stdbool.h>
+#include <stdio.h>
#include <linux/perf_event.h>
#include <linux/types.h>
#include <internal/evsel.h>
Powered by blists - more mailing lists