All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/linux-tools: perf: add host-python3 dependency
@ 2022-09-04 20:57 Sergey Matyukevich
  2022-09-05 20:17 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Sergey Matyukevich @ 2022-09-04 20:57 UTC (permalink / raw)
  To: buildroot; +Cc: Sergey Matyukevich, Yann E . MORIN, Thomas Petazzoni

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.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 package/linux-tools/linux-tool-perf.mk.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in
index 057c6f80e7..44c1bbdf83 100644
--- a/package/linux-tools/linux-tool-perf.mk.in
+++ b/package/linux-tools/linux-tool-perf.mk.in
@@ -6,7 +6,7 @@
 
 LINUX_TOOLS += perf
 
-PERF_DEPENDENCIES = host-flex host-bison
+PERF_DEPENDENCIES = host-flex host-bison host-python3
 
 ifeq ($(NORMALIZED_ARCH),x86_64)
 PERF_ARCH=x86
-- 
2.37.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-07 12:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-04 20:57 [Buildroot] [PATCH 1/1] package/linux-tools: perf: add host-python3 dependency Sergey Matyukevich
2022-09-05 20:17 ` Yann E. MORIN
2022-09-06 19:46   ` Arnout Vandecappelle
2022-09-06 20:07     ` Yann E. MORIN
2022-09-06 20:12       ` Sergey Matyukevich
2022-09-06 20:37       ` Yann E. MORIN
2022-09-07 12:18         ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.