* perf-tools v6.15 tarball not uploaded? @ 2025-06-05 16:24 Michel Lind 2025-06-05 19:40 ` Arnaldo Carvalho de Melo 0 siblings, 1 reply; 6+ messages in thread From: Michel Lind @ 2025-06-05 16:24 UTC (permalink / raw) To: linux-perf-users; +Cc: Arnaldo Carvalho de Melo Hi Arnaldo, I noticed the kernel.org mirrors don't have perf tarballs newer than 6.14.0 - https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/ Will they be uploaded soon? Presumably I can just generate the tarball myself for now from the Git tag. Thanks, -- _o) Michel Lind _( ) identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 README: https://fedoraproject.org/wiki/User:Salimma#README ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: perf-tools v6.15 tarball not uploaded? 2025-06-05 16:24 perf-tools v6.15 tarball not uploaded? Michel Lind @ 2025-06-05 19:40 ` Arnaldo Carvalho de Melo 2025-06-06 19:59 ` Michel Lind 0 siblings, 1 reply; 6+ messages in thread From: Arnaldo Carvalho de Melo @ 2025-06-05 19:40 UTC (permalink / raw) To: Michel Lind; +Cc: linux-perf-users On Thu, Jun 05, 2025 at 11:24:50AM -0500, Michel Lind wrote: > Hi Arnaldo, > > I noticed the kernel.org mirrors don't have perf tarballs newer than > 6.14.0 - https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/ > > Will they be uploaded soon? Presumably I can just generate the tarball > myself for now from the Git tag. Its there now: https://www.kernel.org/pub/linux/kernel/tools/perf/v6.15.0/perf-6.15.0.tar.xz - Arnaldo ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: perf-tools v6.15 tarball not uploaded? 2025-06-05 19:40 ` Arnaldo Carvalho de Melo @ 2025-06-06 19:59 ` Michel Lind 2025-06-06 20:07 ` Arnaldo Carvalho de Melo 2025-06-06 20:14 ` Arnaldo Carvalho de Melo 0 siblings, 2 replies; 6+ messages in thread From: Michel Lind @ 2025-06-06 19:59 UTC (permalink / raw) To: Arnaldo Carvalho de Melo; +Cc: linux-perf-users, James Clark [-- Attachment #1: Type: text/plain, Size: 1988 bytes --] On Thu, 2025-06-05 at 16:40 -0300, Arnaldo Carvalho de Melo wrote: > On Thu, Jun 05, 2025 at 11:24:50AM -0500, Michel Lind wrote: > > Hi Arnaldo, > > > > I noticed the kernel.org mirrors don't have perf tarballs newer > > than > > 6.14.0 - > > https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/ > > > > Will they be uploaded soon? Presumably I can just generate the > > tarball > > myself for now from the Git tag. > > Its there now: > > https://www.kernel.org/pub/linux/kernel/tools/perf/v6.15.0/perf-6.15.0.tar.xz > Thanks! This works great on x86_64, on arm64 it's failing because some files that are needed to generate unistd_64.h per James' commits starting Apr 29 are not there. (I tried copying the files that show up in the error log, but eventually hit a wall - for the Hyperscale build I'm going to get around it for now by just generating the file on CentOS Stream 9 and Stream 10 VMs, but I'll try soldiering on a bit to get this fixed properly next week) These are the files I had to add so far for those curious # needed to build uapi-asm-generic on arm64, see tools/lib/perf/Makefile Source1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/Makefile.asm-headers?h=v%{tag_version}#/Makefile.asm-headers Source2: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/Kbuild.include?h=v%{tag_version}#/Kbuild.include Source3: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/asm-generic/Kbuild?h=v%{tag_version}#/uapi-asm-generic-Kbuild ... %ifarch aarch64 cp -p %{SOURCE1} scripts/ cp -p %{SOURCE2} scripts/ mkdir -p include/uapi/asm-generic/ cp -p %{SOURCE3} include/uapi/asm-generic/Kbuild %endif Best regards, -- _o) Michel Lind _( ) identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 README: https://fedoraproject.org/wiki/User:Salimma#README [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 260 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: perf-tools v6.15 tarball not uploaded? 2025-06-06 19:59 ` Michel Lind @ 2025-06-06 20:07 ` Arnaldo Carvalho de Melo 2025-06-06 20:14 ` Arnaldo Carvalho de Melo 1 sibling, 0 replies; 6+ messages in thread From: Arnaldo Carvalho de Melo @ 2025-06-06 20:07 UTC (permalink / raw) To: Michel Lind; +Cc: linux-perf-users, James Clark On Fri, Jun 06, 2025 at 02:59:27PM -0500, Michel Lind wrote: > On Thu, 2025-06-05 at 16:40 -0300, Arnaldo Carvalho de Melo wrote: > > On Thu, Jun 05, 2025 at 11:24:50AM -0500, Michel Lind wrote: > > > Hi Arnaldo, > > > > > > I noticed the kernel.org mirrors don't have perf tarballs newer > > > than > > > 6.14.0 - > > > https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/ > > > > > > Will they be uploaded soon? Presumably I can just generate the > > > tarball > > > myself for now from the Git tag. > > > > Its there now: > > > > https://www.kernel.org/pub/linux/kernel/tools/perf/v6.15.0/perf-6.15.0.tar.xz > > > Thanks! This works great on x86_64, on arm64 it's failing because some > files that are needed to generate unistd_64.h per James' commits > starting Apr 29 are not there. Humm, the tests are made on x86_64, i.e. the tarball ones that use the MANIFEST file to create the tarball and then test it... Lemme try on my rpi5, and I think I hit it before but forget about following up on it :-( > (I tried copying the files that show up in the error log, but > eventually hit a wall - for the Hyperscale build I'm going to get > around it for now by just generating the file on CentOS Stream 9 and > Stream 10 VMs, but I'll try soldiering on a bit to get this fixed > properly next week) > These are the files I had to add so far for those curious > # needed to build uapi-asm-generic on arm64, see > tools/lib/perf/Makefile > Source1: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/Makefile.asm-headers?h=v%{tag_version}#/Makefile.asm-headers > Source2: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/Kbuild.include?h=v%{tag_version}#/Kbuild.include > Source3: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/asm-generic/Kbuild?h=v%{tag_version}#/uapi-asm-generic-Kbuild > > ... > > %ifarch aarch64 > cp -p %{SOURCE1} scripts/ > cp -p %{SOURCE2} scripts/ > mkdir -p include/uapi/asm-generic/ > cp -p %{SOURCE3} include/uapi/asm-generic/Kbuild > %endif > > Best regards, > > -- > _o) Michel Lind > _( ) identities: > https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 > README: https://fedoraproject.org/wiki/User:Salimma#README ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: perf-tools v6.15 tarball not uploaded? 2025-06-06 19:59 ` Michel Lind 2025-06-06 20:07 ` Arnaldo Carvalho de Melo @ 2025-06-06 20:14 ` Arnaldo Carvalho de Melo 2025-06-12 8:59 ` Michel Lind 1 sibling, 1 reply; 6+ messages in thread From: Arnaldo Carvalho de Melo @ 2025-06-06 20:14 UTC (permalink / raw) To: Michel Lind; +Cc: linux-perf-users, James Clark On Fri, Jun 06, 2025 at 02:59:27PM -0500, Michel Lind wrote: > On Thu, 2025-06-05 at 16:40 -0300, Arnaldo Carvalho de Melo wrote: > > On Thu, Jun 05, 2025 at 11:24:50AM -0500, Michel Lind wrote: > > > I noticed the kernel.org mirrors don't have perf tarballs newer > > > than > > > 6.14.0 - > > > https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/ > > > Will they be uploaded soon? Presumably I can just generate the > > > tarball > > > myself for now from the Git tag. > > Its there now: > > https://www.kernel.org/pub/linux/kernel/tools/perf/v6.15.0/perf-6.15.0.tar.xz > Thanks! This works great on x86_64, on arm64 it's failing because some > files that are needed to generate unistd_64.h per James' commits > starting Apr 29 are not there. > (I tried copying the files that show up in the error log, but > eventually hit a wall - for the Hyperscale build I'm going to get > around it for now by just generating the file on CentOS Stream 9 and > Stream 10 VMs, but I'll try soldiering on a bit to get this fixed > properly next week) Yeah, reproduced: CC /tmp/build/perf-6.15.0/libapi/fd/array.o MKDIR /tmp/build/perf-6.15.0/libapi/fs/ CC /tmp/build/perf-6.15.0/libapi/fs/fs.o make[4]: /tmp/perf-6.15.0/scripts/Makefile.asm-headers: No such file or directory make[4]: *** No rule to make target '/tmp/perf-6.15.0/scripts/Makefile.asm-headers'. Stop. make[3]: *** [Makefile:108: uapi-asm-generic] Error 2 make[2]: *** [Makefile.perf:973: /tmp/build/perf-6.15.0/libperf/libperf.a] Error 2 make[2]: *** Waiting for unfinished jobs.... INSTALL /tmp/build/perf-6.15.0/libapi/include/api/cpu.h We shouldn't be ever using anything outside tools, but over time we ended up doing that :-( And its just arm64 that is getting things from outside tools/ ⬢ [acme@toolbx perf-tools]$ head tools/perf/MANIFEST COPYING LICENSES/preferred/GPL-2.0 arch/arm64/tools/gen-sysreg.awk arch/arm64/tools/syscall_64.tbl arch/arm64/tools/sysreg arch/*/include/uapi/asm/bpf_perf_event.h include/uapi/asm-generic/Kbuild tools/perf tools/arch tools/scripts ⬢ [acme@toolbx perf-tools]$ James, has this appeared on your radar before? - Arnaldo > These are the files I had to add so far for those curious > > # needed to build uapi-asm-generic on arm64, see > tools/lib/perf/Makefile > Source1: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/Makefile.asm-headers?h=v%{tag_version}#/Makefile.asm-headers > Source2: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/scripts/Kbuild.include?h=v%{tag_version}#/Kbuild.include > Source3: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/include/uapi/asm-generic/Kbuild?h=v%{tag_version}#/uapi-asm-generic-Kbuild > > ... > > %ifarch aarch64 > cp -p %{SOURCE1} scripts/ > cp -p %{SOURCE2} scripts/ > mkdir -p include/uapi/asm-generic/ > cp -p %{SOURCE3} include/uapi/asm-generic/Kbuild > %endif > > Best regards, > > -- > _o) Michel Lind > _( ) identities: > https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 > README: https://fedoraproject.org/wiki/User:Salimma#README ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: perf-tools v6.15 tarball not uploaded? 2025-06-06 20:14 ` Arnaldo Carvalho de Melo @ 2025-06-12 8:59 ` Michel Lind 0 siblings, 0 replies; 6+ messages in thread From: Michel Lind @ 2025-06-12 8:59 UTC (permalink / raw) To: Arnaldo Carvalho de Melo; +Cc: linux-perf-users, James Clark Hi Arnaldo, James, On Fri, 2025-06-06 at 17:14 -0300, Arnaldo Carvalho de Melo wrote: > On Fri, Jun 06, 2025 at 02:59:27PM -0500, Michel Lind wrote: > > On Thu, 2025-06-05 at 16:40 -0300, Arnaldo Carvalho de Melo wrote: > > > On Thu, Jun 05, 2025 at 11:24:50AM -0500, Michel Lind wrote: > > > > I noticed the kernel.org mirrors don't have perf tarballs newer > > > > than > > > > 6.14.0 - > > > > https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/ > > > > > Will they be uploaded soon? Presumably I can just generate the > > > > tarball > > > > myself for now from the Git tag. > > > > Its there now: > > > > https://www.kernel.org/pub/linux/kernel/tools/perf/v6.15.0/perf-6.15.0.tar.xz > > > Thanks! This works great on x86_64, on arm64 it's failing because > > some > > files that are needed to generate unistd_64.h per James' commits > > starting Apr 29 are not there. > > > (I tried copying the files that show up in the error log, but > > eventually hit a wall - for the Hyperscale build I'm going to get > > around it for now by just generating the file on CentOS Stream 9 and > > Stream 10 VMs, but I'll try soldiering on a bit to get this fixed > > properly next week) > > Yeah, reproduced: > > CC /tmp/build/perf-6.15.0/libapi/fd/array.o > MKDIR /tmp/build/perf-6.15.0/libapi/fs/ > CC /tmp/build/perf-6.15.0/libapi/fs/fs.o > make[4]: /tmp/perf-6.15.0/scripts/Makefile.asm-headers: No such file or > directory > make[4]: *** No rule to make target '/tmp/perf- > 6.15.0/scripts/Makefile.asm-headers'. Stop. > make[3]: *** [Makefile:108: uapi-asm-generic] Error 2 > make[2]: *** [Makefile.perf:973: /tmp/build/perf- > 6.15.0/libperf/libperf.a] Error 2 > make[2]: *** Waiting for unfinished jobs.... > INSTALL /tmp/build/perf-6.15.0/libapi/include/api/cpu.h > > > We shouldn't be ever using anything outside tools, but over time we > ended up doing that :-( > > And its just arm64 that is getting things from outside tools/ > > ⬢ [acme@toolbx perf-tools]$ head tools/perf/MANIFEST > COPYING > LICENSES/preferred/GPL-2.0 > arch/arm64/tools/gen-sysreg.awk > arch/arm64/tools/syscall_64.tbl > arch/arm64/tools/sysreg > arch/*/include/uapi/asm/bpf_perf_event.h > include/uapi/asm-generic/Kbuild > tools/perf > tools/arch > tools/scripts > ⬢ [acme@toolbx perf-tools]$ > > James, has this appeared on your radar before? > Any idea if this can get addressed soon, and otherwise, what's the best workaround? e.g. would copying the file generated from a checkout work? I'm temporarily building 6.15.0 for x86_64 only for CentOS Hyperscale (limiting it to the "facebook" variant only, until this is resolved) https://cbs.centos.org/koji/buildinfo?buildID=61023 since some users are reporting a regression in 6.14.0 and want to test if this is fixed: "When trying to get a flamegraph using DCPERF_RECORD_PERF=1, the flamegraph cannot be correctly generated." Thanks, -- _o) Michel Lind _( ) identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 README: https://fedoraproject.org/wiki/User:Salimma#README ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-06-12 8:59 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-06-05 16:24 perf-tools v6.15 tarball not uploaded? Michel Lind 2025-06-05 19:40 ` Arnaldo Carvalho de Melo 2025-06-06 19:59 ` Michel Lind 2025-06-06 20:07 ` Arnaldo Carvalho de Melo 2025-06-06 20:14 ` Arnaldo Carvalho de Melo 2025-06-12 8:59 ` Michel Lind
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).