[<prev] [next>] [day] [month] [year] [list]
Message-ID: <156656304997.32120.3841712694711958136.tip-bot2@tip-bot2>
Date: Fri, 23 Aug 2019 12:24:09 -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: Add missing perf/evsel.h header in util/evsel.h
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 69714a4e3959eb051e685c6dce06c6d5a8f27c3c
Gitweb: https://git.kernel.org/tip/69714a4e3959eb051e685c6dce06c6d5a8f27c3c
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Wed, 21 Aug 2019 14:09:54 -03:00
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitterDate: Thu, 22 Aug 2019 17:16:57 -03:00
perf evsel: Add missing perf/evsel.h header in util/evsel.h
Since util/evsel.h uses perf_evsel__cpus() that has its prototype in
libperf's perf/evsel.h file, we need it explicitely included.
This was working by luck as util/evsel.h includes counts.h, but that is
not necessary, just some forward declarations, so, before we remove
counts.h from util/evsel.h, add what is realli needed.
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-nfb9e0t4jm9zhvr0q86hc29d@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 2928eee..da91d6f 100644
--- a/tools/perf/util/evsel.h
+++ b/tools/perf/util/evsel.h
@@ -8,6 +8,7 @@
#include <linux/perf_event.h>
#include <linux/types.h>
#include <internal/evsel.h>
+#include <perf/evsel.h>
#include "symbol_conf.h"
#include "cpumap.h"
#include "counts.h"
Powered by blists - more mailing lists