Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perf for openSUSE:Factory checked in at 2024-09-01 19:21:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perf (Old) and /work/SRC/openSUSE:Factory/.perf.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perf" Sun Sep 1 19:21:27 2024 rev:76 rq:1197790 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/perf/perf.changes 2024-03-06 23:07:12.975157328 +0100 +++ /work/SRC/openSUSE:Factory/.perf.new.2698/perf.changes 2024-09-01 19:21:43.084730761 +0200 @@ -1,0 +2,6 @@ +Fri Aug 30 10:31:38 UTC 2024 - Jiri Slaby <jsl...@suse.cz> + +- add 0001-perf-trace-fix-build-on-32bit.patch + to fix build on i586 with 6.11+ + +------------------------------------------------------------------- New: ---- 0001-perf-trace-fix-build-on-32bit.patch BETA DEBUG BEGIN: New: - add 0001-perf-trace-fix-build-on-32bit.patch to fix build on i586 with 6.11+ BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perf.spec ++++++ --- /var/tmp/diff_new_pack.7CQJGG/_old 2024-09-01 19:21:43.668754673 +0200 +++ /var/tmp/diff_new_pack.7CQJGG/_new 2024-09-01 19:21:43.668754673 +0200 @@ -34,6 +34,7 @@ License: GPL-2.0-only Group: Development/Tools/Debuggers URL: https://perf.wiki.kernel.org/ +Patch0: 0001-perf-trace-fix-build-on-32bit.patch BuildRequires: OpenCSD-devel BuildRequires: audit-devel %ifnarch %{arm} @@ -131,6 +132,7 @@ # copy necessary files from kernel-source since we need to modify them (cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,tools,Makefile} lib kernel/bpf/disasm.[ch]) | tar -xf - chmod +x tools/perf/util/generate-cmdlist.sh +%autopatch -p1 # don't error out on deprecated definitions in gtk2.h sed -i 's@ignored "-Wstrict-prototypes"@&\n#pragma GCC diagnostic ignored "-Wdeprecated-declarations"@' tools/build/feature/test-gtk2.c ++++++ 0001-perf-trace-fix-build-on-32bit.patch ++++++ From: Jiri Slaby <jsl...@suse.cz> Date: Fri, 30 Aug 2024 12:25:21 +0200 Subject: perf trace: fix build on 32bit Patch-mainline: submitted, <739001a4-4df1-4dec-a141-926c78c5c...@kernel.org> References: i586 + 6.11 build fix i586 does not have HAVE_SYSCALL_TABLE_SUPPORT set. But we need syscalltbl__id_at_idx(). Define it as identity. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Fixes: 7a2fb5619cc1 (perf trace: Fix iteration of syscall ids in syscalltbl->entries) Link: https://lore.kernel.org/all/6fe63fa3-6c63-4b75-ac09-884d26f6f...@kernel.org/ --- tools/perf/util/syscalltbl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/perf/util/syscalltbl.c b/tools/perf/util/syscalltbl.c index 0dd26b99..75391ec4 100644 --- a/tools/perf/util/syscalltbl.c +++ b/tools/perf/util/syscalltbl.c @@ -178,6 +178,11 @@ int syscalltbl__id(struct syscalltbl *tbl, const char *name) return audit_name_to_syscall(name, tbl->audit_machine); } +int syscalltbl__id_at_idx(struct syscalltbl *, int idx) +{ + return idx; +} + int syscalltbl__strglobmatch_next(struct syscalltbl *tbl __maybe_unused, const char *syscall_glob __maybe_unused, int *idx __maybe_unused) { -- 2.46.0