[tip: perf/urgent] libperf: Add missing event.h file to install rule

From: tip-bot2 for Jiri Olsa
Date: Fri Sep 20 2019 - 12:22:02 EST


The following commit has been merged into the perf/urgent branch of tip:

Commit-ID: 227cb129858a3eb4b874937274b09834ffcc39b0
Gitweb: https://git.kernel.org/tip/227cb129858a3eb4b874937274b09834ffcc39b0
Author: Jiri Olsa <jolsa@xxxxxxxxxx>
AuthorDate: Sun, 01 Sep 2019 14:48:22 +02:00
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitterDate: Tue, 10 Sep 2019 14:33:32 +01:00

libperf: Add missing event.h file to install rule

So that this development header is properly installed and can be found
by tools linking with libperf.

Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Michael Petlan <mpetlan@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Link: http://lore.kernel.org/lkml/20190901124822.10132-5-jolsa@xxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/lib/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/perf/lib/Makefile b/tools/perf/lib/Makefile
index a67efb8..e325c05 100644
--- a/tools/perf/lib/Makefile
+++ b/tools/perf/lib/Makefile
@@ -146,6 +146,7 @@ install_headers:
$(call do_install,include/perf/threadmap.h,$(prefix)/include/perf,644); \
$(call do_install,include/perf/evlist.h,$(prefix)/include/perf,644); \
$(call do_install,include/perf/evsel.h,$(prefix)/include/perf,644);
+ $(call do_install,include/perf/event.h,$(prefix)/include/perf,644);

install_pkgconfig: $(LIBPERF_PC)
$(call QUIET_INSTALL, $(LIBPERF_PC)) \