[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-5b7f445d684fc287a2101e29d42d1fee19ae14ff@git.kernel.org>
Date: Tue, 30 Jul 2019 11:26:23 -0700
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, namhyung@...nel.org,
linux-kernel@...r.kernel.org, acme@...hat.com, hpa@...or.com,
jolsa@...nel.org, mingo@...nel.org,
alexey.budankov@...ux.intel.com,
alexander.shishkin@...ux.intel.com, mpetlan@...hat.com,
ak@...ux.intel.com, peterz@...radead.org
Subject: [tip:perf/core] libperf: Add perf/core.h header
Commit-ID: 5b7f445d684fc287a2101e29d42d1fee19ae14ff
Gitweb: https://git.kernel.org/tip/5b7f445d684fc287a2101e29d42d1fee19ae14ff
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Sun, 21 Jul 2019 13:24:13 +0200
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Mon, 29 Jul 2019 18:34:44 -0300
libperf: Add perf/core.h header
Add perf/core.h header to be used in header files coming in the
following patches.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Alexey Budankov <alexey.budankov@...ux.intel.com>
Cc: Andi Kleen <ak@...ux.intel.com>
Cc: Michael Petlan <mpetlan@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/20190721112506.12306-27-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/lib/include/perf/core.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/tools/perf/lib/include/perf/core.h b/tools/perf/lib/include/perf/core.h
new file mode 100644
index 000000000000..e2e4b43c9131
--- /dev/null
+++ b/tools/perf/lib/include/perf/core.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __LIBPERF_CORE_H
+#define __LIBPERF_CORE_H
+
+#ifndef LIBPERF_API
+#define LIBPERF_API __attribute__((visibility("default")))
+#endif
+
+#endif /* __LIBPERF_CORE_H */
Powered by blists - more mailing lists