aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Rogers2022-11-09 10:49:08 -0800
committerArnaldo Carvalho de Melo2022-11-16 12:17:15 -0300
commita6e8caf5db2e1db8e2ec51f87b9749bd28f6b969 (patch)
treec7d4e518fb405f514f5e2a83e47afb7ba7dd86cc
parent8d1f68bd76a6517c132fd1dd223c85c5e1defa49 (diff)
tools lib perf: Add missing install headers
Headers necessary for the perf build. Note, internal headers are also installed as these are necessary for the build. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Nicolas Schier <nicolas@fjasle.eu> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: bpf@vger.kernel.org Link: http://lore.kernel.org/lkml/20221109184914.1357295-9-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/lib/perf/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/lib/perf/Makefile b/tools/lib/perf/Makefile
index 21df023a2103..1badc0a04676 100644
--- a/tools/lib/perf/Makefile
+++ b/tools/lib/perf/Makefile
@@ -189,13 +189,21 @@ install_lib: libs
install_headers:
$(call QUIET_INSTALL, headers) \
+ $(call do_install,include/perf/bpf_perf.h,$(prefix)/include/perf,644); \
$(call do_install,include/perf/core.h,$(prefix)/include/perf,644); \
$(call do_install,include/perf/cpumap.h,$(prefix)/include/perf,644); \
$(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); \
- $(call do_install,include/perf/mmap.h,$(prefix)/include/perf,644);
+ $(call do_install,include/perf/mmap.h,$(prefix)/include/perf,644); \
+ $(call do_install,include/internal/cpumap.h,$(prefix)/include/internal,644); \
+ $(call do_install,include/internal/evlist.h,$(prefix)/include/internal,644); \
+ $(call do_install,include/internal/evsel.h,$(prefix)/include/internal,644); \
+ $(call do_install,include/internal/lib.h,$(prefix)/include/internal,644); \
+ $(call do_install,include/internal/mmap.h,$(prefix)/include/internal,644); \
+ $(call do_install,include/internal/threadmap.h,$(prefix)/include/internal,644); \
+ $(call do_install,include/internal/xyarray.h,$(prefix)/include/internal,644);
install_pkgconfig: $(LIBPERF_PC)
$(call QUIET_INSTALL, $(LIBPERF_PC)) \