kumquat-buildroot/package/linux-tools
Sergey Matyukevich 286928d9b5 package/linux-tools: perf: add host-python3 dependency
Linux kernel commit 00facc760903 ("perf jevents: Switch build to use
jevents.py") switched to auto-generation of arch-specific PMU events
using python script. Now custom PMU events for different platforms of
the selected target architecture are not embedded into perf binary if
an appropriate host python interpreter is not present. In practice it
means that perf is successfully built, but 'perf list pmu' will show
no custom events on a target platform even if those events are supported
and properly defined in tools/perf/pmu-events/arch/<target arch>
directory in the kernel source tree.

Since building host-python3 is not instantaneous, add a config option,
like we have in the kernel for a bunch of host packages, to id=ndicate
that host-python3 is required, and only add the dependency in that case.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
[yann.morin.1998@free.fr:
  - add BR2_PACKAGE_LINUX_TOOLS_PERF_NEEDS_HOST_PYTHON3
  - extend commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-09-05 22:11:32 +02:00
..
Config.in
hypervfcopyd.service
hypervkvpd.service
hypervvssd.service
linux-tool-cpupower.mk.in
linux-tool-gpio.mk.in
linux-tool-hv.mk.in
linux-tool-iio.mk.in
linux-tool-pci.mk.in
linux-tool-perf.mk.in
linux-tool-selftests.mk.in
linux-tool-tmon.mk.in
linux-tools.mk
S10hyperv