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>
This commit is contained in:
Ian Rogers 2022-11-09 10:49:08 -08:00 committed by Arnaldo Carvalho de Melo
parent 8d1f68bd76
commit a6e8caf5db

View File

@ -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)) \