* [mainline]tools/perf build warnings @ 2025-04-16 11:42 Venkat Rao Bagalkote 2025-04-16 13:11 ` Athira Rajeev 0 siblings, 1 reply; 9+ messages in thread From: Venkat Rao Bagalkote @ 2025-04-16 11:42 UTC (permalink / raw) To: Athira Rajeev, Madhavan Srinivasan, Namhyung Kim, mingo, LKML Hello, I am observing a new build warning on today mainline kernel, with head commit: g834a4a689699 Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Warnings: diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h If you happen to fix this, please add below tag. Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Regards, Venkat. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-16 11:42 [mainline]tools/perf build warnings Venkat Rao Bagalkote @ 2025-04-16 13:11 ` Athira Rajeev 2025-04-16 14:03 ` Venkat Rao Bagalkote 0 siblings, 1 reply; 9+ messages in thread From: Athira Rajeev @ 2025-04-16 13:11 UTC (permalink / raw) To: Venkat Rao Bagalkote; +Cc: Madhavan Srinivasan, Namhyung Kim, Ingo Molnar, LKML > On 16 Apr 2025, at 5:12 PM, Venkat Rao Bagalkote <venkat88@linux.ibm.com> wrote: > > Hello, > > > I am observing a new build warning on today mainline kernel, with head commit: g834a4a689699 > > Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > > Warnings: > > diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h > > > If you happen to fix this, please add below tag. > > > Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Hi Venkat Can you please check with https://web.git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/?h=tmp.perf-tools-next with the tmp.perf-tools-next branch.. Also there is a patchset here: https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#m3e9d6aac4c34ebf42f18f3c213b7dff8f8c70d9d Which I think you have already tested.. Thanks Athira > > > Regards, > > Venkat. > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-16 13:11 ` Athira Rajeev @ 2025-04-16 14:03 ` Venkat Rao Bagalkote 2025-04-16 14:19 ` Venkat Rao Bagalkote 0 siblings, 1 reply; 9+ messages in thread From: Venkat Rao Bagalkote @ 2025-04-16 14:03 UTC (permalink / raw) To: Athira Rajeev Cc: Madhavan Srinivasan, Namhyung Kim, Ingo Molnar, LKML, jiang.peng9, shao.mingyin, Thomas Gleixner On 16/04/25 6:41 pm, Athira Rajeev wrote: > >> On 16 Apr 2025, at 5:12 PM, Venkat Rao Bagalkote <venkat88@linux.ibm.com> wrote: >> >> Hello, >> >> >> I am observing a new build warning on today mainline kernel, with head commit: g834a4a689699 >> >> Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> >> >> Warnings: >> >> diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h >> >> >> If you happen to fix this, please add below tag. >> >> >> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> > Hi Venkat > > Can you please check with https://web.git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/?h=tmp.perf-tools-next > with the tmp.perf-tools-next branch.. I verified with perf-tools-next repo on both branches namely tmp.perf-tools-next and perf-tools-next, and I think this warning got recently introduced. Git Bisect is pointing to acea9943271b62905033f2f8ca571cdd52d6ea7b as first bad commit. Below is the bisect log: git bisect log git bisect start # status: waiting for both good and bad commits # bad: [834a4a689699090a406d1662b03affa8b155d025] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma git bisect bad 834a4a689699090a406d1662b03affa8b155d025 # status: waiting for good commit(s), bad commit known # good: [0af2f6be1b4281385b618cb86ad946eded089ac8] Linux 6.15-rc1 git bisect good 0af2f6be1b4281385b618cb86ad946eded089ac8 # bad: [ef7785882672e73847fb80f6c39e76998d4db57b] Merge tag 'bcachefs-2025-04-10' of git://evilpiepirate.org/bcachefs git bisect bad ef7785882672e73847fb80f6c39e76998d4db57b # good: [e4742a89cfaced383db758bef94037637899487a] Merge tag 'block-6.15-20250410' of git://git.kernel.dk/linux git bisect good e4742a89cfaced383db758bef94037637899487a # good: [eaa517b77e63442260640d875f824d1111ca6569] ethtool: cmis_cdb: Fix incorrect read / write length extension git bisect good eaa517b77e63442260640d875f824d1111ca6569 # good: [ac253a537da3b210fa4b65d522d5533fc68f9515] Merge tag 'perf-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip git bisect good ac253a537da3b210fa4b65d522d5533fc68f9515 # good: [3c9de67dd37029cca1d0f391ff565b3809b40a1f] Merge tag 'x86-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip git bisect good 3c9de67dd37029cca1d0f391ff565b3809b40a1f # bad: [0c7cae12f67c4c5fd232cffb27023deb409e1e20] Merge tag 'irq-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip git bisect bad 0c7cae12f67c4c5fd232cffb27023deb409e1e20 # bad: [34833819d2270ef96fa98fe3c1d3d297b5dec986] Merge tag 'timers-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip git bisect bad 34833819d2270ef96fa98fe3c1d3d297b5dec986 # good: [92e250c624ea37fde64bfd624fd2556f0d846f18] timekeeping: Add a lockdep override in tick_freeze() git bisect good 92e250c624ea37fde64bfd624fd2556f0d846f18 # bad: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address variable shadowing in macros git bisect bad acea9943271b62905033f2f8ca571cdd52d6ea7b # first bad commit: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address variable shadowing in macros Regards, Venkat. > > Also there is a patchset here: > https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#m3e9d6aac4c34ebf42f18f3c213b7dff8f8c70d9d > > Which I think you have already tested.. > > Thanks > Athira >> >> Regards, >> >> Venkat. >> >> >> ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-16 14:03 ` Venkat Rao Bagalkote @ 2025-04-16 14:19 ` Venkat Rao Bagalkote 2025-04-16 14:34 ` Athira Rajeev 0 siblings, 1 reply; 9+ messages in thread From: Venkat Rao Bagalkote @ 2025-04-16 14:19 UTC (permalink / raw) To: Athira Rajeev Cc: Madhavan Srinivasan, Namhyung Kim, Ingo Molnar, LKML, jiang.peng9, shao.mingyin, Thomas Gleixner On 16/04/25 7:33 pm, Venkat Rao Bagalkote wrote: > > On 16/04/25 6:41 pm, Athira Rajeev wrote: >> >>> On 16 Apr 2025, at 5:12 PM, Venkat Rao Bagalkote >>> <venkat88@linux.ibm.com> wrote: >>> >>> Hello, >>> >>> >>> I am observing a new build warning on today mainline kernel, with >>> head commit: g834a4a689699 >>> >>> Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> >>> >>> Warnings: >>> >>> diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h >>> >>> >>> If you happen to fix this, please add below tag. >>> >>> >>> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> >> Hi Venkat >> >> Can you please check with >> https://web.git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/?h=tmp.perf-tools-next >> with the tmp.perf-tools-next branch.. > > > I verified with perf-tools-next repo on both branches namely > tmp.perf-tools-next and perf-tools-next, and I think this warning got > recently introduced. /Typo in the last mail, please refer to below update./ I verified with perf-tools-next repo on both branches namely tmp.perf-tools-next and perf-tools-next, and issue is not seen there. And I think this warning got recently introduced. > > Git Bisect is pointing to acea9943271b62905033f2f8ca571cdd52d6ea7b as > first bad commit. > > > Below is the bisect log: > > git bisect log > git bisect start > # status: waiting for both good and bad commits > # bad: [834a4a689699090a406d1662b03affa8b155d025] Merge tag > 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma > git bisect bad 834a4a689699090a406d1662b03affa8b155d025 > # status: waiting for good commit(s), bad commit known > # good: [0af2f6be1b4281385b618cb86ad946eded089ac8] Linux 6.15-rc1 > git bisect good 0af2f6be1b4281385b618cb86ad946eded089ac8 > # bad: [ef7785882672e73847fb80f6c39e76998d4db57b] Merge tag > 'bcachefs-2025-04-10' of git://evilpiepirate.org/bcachefs > git bisect bad ef7785882672e73847fb80f6c39e76998d4db57b > # good: [e4742a89cfaced383db758bef94037637899487a] Merge tag > 'block-6.15-20250410' of git://git.kernel.dk/linux > git bisect good e4742a89cfaced383db758bef94037637899487a > # good: [eaa517b77e63442260640d875f824d1111ca6569] ethtool: cmis_cdb: > Fix incorrect read / write length extension > git bisect good eaa517b77e63442260640d875f824d1111ca6569 > # good: [ac253a537da3b210fa4b65d522d5533fc68f9515] Merge tag > 'perf-urgent-2025-04-10' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect good ac253a537da3b210fa4b65d522d5533fc68f9515 > # good: [3c9de67dd37029cca1d0f391ff565b3809b40a1f] Merge tag > 'x86-urgent-2025-04-10' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect good 3c9de67dd37029cca1d0f391ff565b3809b40a1f > # bad: [0c7cae12f67c4c5fd232cffb27023deb409e1e20] Merge tag > 'irq-urgent-2025-04-10' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad 0c7cae12f67c4c5fd232cffb27023deb409e1e20 > # bad: [34833819d2270ef96fa98fe3c1d3d297b5dec986] Merge tag > 'timers-urgent-2025-04-10' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad 34833819d2270ef96fa98fe3c1d3d297b5dec986 > # good: [92e250c624ea37fde64bfd624fd2556f0d846f18] timekeeping: Add a > lockdep override in tick_freeze() > git bisect good 92e250c624ea37fde64bfd624fd2556f0d846f18 > # bad: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address > variable shadowing in macros > git bisect bad acea9943271b62905033f2f8ca571cdd52d6ea7b > # first bad commit: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: > Address variable shadowing in macros > > > Regards, > > Venkat. > >> >> Also there is a patchset here: >> https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#m3e9d6aac4c34ebf42f18f3c213b7dff8f8c70d9d >> >> >> Which I think you have already tested.. >> >> Thanks >> Athira >>> >>> Regards, >>> >>> Venkat. >>> >>> >>> ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-16 14:19 ` Venkat Rao Bagalkote @ 2025-04-16 14:34 ` Athira Rajeev 2025-04-16 17:16 ` Venkat Rao Bagalkote 0 siblings, 1 reply; 9+ messages in thread From: Athira Rajeev @ 2025-04-16 14:34 UTC (permalink / raw) To: Venkat Rao Bagalkote, Namhyung Kim, open list:PERFORMANCE EVENTS SUBSYSTEM Cc: Madhavan Srinivasan, Ingo Molnar, LKML, jiang.peng9, shao.mingyin, Thomas Gleixner > On 16 Apr 2025, at 7:49 PM, Venkat Rao Bagalkote <venkat88@linux.ibm.com> wrote: > > > On 16/04/25 7:33 pm, Venkat Rao Bagalkote wrote: >> >> On 16/04/25 6:41 pm, Athira Rajeev wrote: >>> >>>> On 16 Apr 2025, at 5:12 PM, Venkat Rao Bagalkote <venkat88@linux.ibm.com> wrote: >>>> >>>> Hello, >>>> >>>> >>>> I am observing a new build warning on today mainline kernel, with head commit: g834a4a689699 >>>> >>>> Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>>> >>>> >>>> Warnings: >>>> >>>> diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h >>>> >>>> >>>> If you happen to fix this, please add below tag. >>>> >>>> >>>> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> >>> Hi Venkat >>> >>> Can you please check with https://web.git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/?h=tmp.perf-tools-next >>> with the tmp.perf-tools-next branch.. >> >> >> I verified with perf-tools-next repo on both branches namely tmp.perf-tools-next and perf-tools-next, and I think this warning got recently introduced. > > /Typo in the last mail, please refer to below update./ > > I verified with perf-tools-next repo on both branches namely tmp.perf-tools-next and perf-tools-next, and issue is not seen there. And I think this warning got recently introduced. Hi Venkat, Can you please check with this change: From 9a92d361ca2c22ac774b904211eb8c4f7c80fc85 Mon Sep 17 00:00:00 2001 From: Athira Rajeev <atrajeev@linux.ibm.com> Date: Fri, 9 May 2025 07:49:40 -0500 Subject: [PATCH] tools headers: Update the include/vdso/unaligned.h to sync headers To pick up the changes in: commit acea9943271b ("vdso: Address variable shadowing in macros") Addressing this perf tools build warning: diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Athira Rajeev <atrajeev@linux.ibm.com> --- tools/include/vdso/unaligned.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/include/vdso/unaligned.h b/tools/include/vdso/unaligned.h index eee3d2a4dbe4..ff0c06b6513e 100644 --- a/tools/include/vdso/unaligned.h +++ b/tools/include/vdso/unaligned.h @@ -2,14 +2,14 @@ #ifndef __VDSO_UNALIGNED_H #define __VDSO_UNALIGNED_H -#define __get_unaligned_t(type, ptr) ({ \ - const struct { type x; } __packed *__pptr = (typeof(__pptr))(ptr); \ - __pptr->x; \ +#define __get_unaligned_t(type, ptr) ({ \ + const struct { type x; } __packed * __get_pptr = (typeof(__get_pptr))(ptr); \ + __get_pptr->x; \ }) -#define __put_unaligned_t(type, val, ptr) do { \ - struct { type x; } __packed *__pptr = (typeof(__pptr))(ptr); \ - __pptr->x = (val); \ +#define __put_unaligned_t(type, val, ptr) do { \ + struct { type x; } __packed * __put_pptr = (typeof(__put_pptr))(ptr); \ + __put_pptr->x = (val); \ } while (0) #endif /* __VDSO_UNALIGNED_H */ -- 2.47.1 Thanks Athira Hi Namhyung, I see we have few other warnings for which fixes is planned to picked for next cycle: https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#me2ee1b70aeaad4901fb4d995b3b3015cd32f1adc Can we also consider picking this one include/vdso/unaligned.h .. Once Venkat tests , I will post this as separate patch Thanks Athira > >> >> Git Bisect is pointing to acea9943271b62905033f2f8ca571cdd52d6ea7b as first bad commit. >> >> >> Below is the bisect log: >> >> git bisect log >> git bisect start >> # status: waiting for both good and bad commits >> # bad: [834a4a689699090a406d1662b03affa8b155d025] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma >> git bisect bad 834a4a689699090a406d1662b03affa8b155d025 >> # status: waiting for good commit(s), bad commit known >> # good: [0af2f6be1b4281385b618cb86ad946eded089ac8] Linux 6.15-rc1 >> git bisect good 0af2f6be1b4281385b618cb86ad946eded089ac8 >> # bad: [ef7785882672e73847fb80f6c39e76998d4db57b] Merge tag 'bcachefs-2025-04-10' of git://evilpiepirate.org/bcachefs >> git bisect bad ef7785882672e73847fb80f6c39e76998d4db57b >> # good: [e4742a89cfaced383db758bef94037637899487a] Merge tag 'block-6.15-20250410' of git://git.kernel.dk/linux >> git bisect good e4742a89cfaced383db758bef94037637899487a >> # good: [eaa517b77e63442260640d875f824d1111ca6569] ethtool: cmis_cdb: Fix incorrect read / write length extension >> git bisect good eaa517b77e63442260640d875f824d1111ca6569 >> # good: [ac253a537da3b210fa4b65d522d5533fc68f9515] Merge tag 'perf-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >> git bisect good ac253a537da3b210fa4b65d522d5533fc68f9515 >> # good: [3c9de67dd37029cca1d0f391ff565b3809b40a1f] Merge tag 'x86-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >> git bisect good 3c9de67dd37029cca1d0f391ff565b3809b40a1f >> # bad: [0c7cae12f67c4c5fd232cffb27023deb409e1e20] Merge tag 'irq-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >> git bisect bad 0c7cae12f67c4c5fd232cffb27023deb409e1e20 >> # bad: [34833819d2270ef96fa98fe3c1d3d297b5dec986] Merge tag 'timers-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >> git bisect bad 34833819d2270ef96fa98fe3c1d3d297b5dec986 >> # good: [92e250c624ea37fde64bfd624fd2556f0d846f18] timekeeping: Add a lockdep override in tick_freeze() >> git bisect good 92e250c624ea37fde64bfd624fd2556f0d846f18 >> # bad: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address variable shadowing in macros >> git bisect bad acea9943271b62905033f2f8ca571cdd52d6ea7b >> # first bad commit: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address variable shadowing in macros >> >> >> Regards, >> >> Venkat. >> >>> >>> Also there is a patchset here: >>> https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#m3e9d6aac4c34ebf42f18f3c213b7dff8f8c70d9d >>> >>> Which I think you have already tested.. >>> >>> Thanks >>> Athira >>>> >>>> Regards, >>>> >>>> Venkat. ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-16 14:34 ` Athira Rajeev @ 2025-04-16 17:16 ` Venkat Rao Bagalkote 2025-04-17 2:01 ` jiang.peng9 0 siblings, 1 reply; 9+ messages in thread From: Venkat Rao Bagalkote @ 2025-04-16 17:16 UTC (permalink / raw) To: Athira Rajeev, Namhyung Kim, open list:PERFORMANCE EVENTS SUBSYSTEM Cc: Madhavan Srinivasan, Ingo Molnar, LKML, jiang.peng9, shao.mingyin, Thomas Gleixner On 16/04/25 8:04 pm, Athira Rajeev wrote: > >> On 16 Apr 2025, at 7:49 PM, Venkat Rao Bagalkote <venkat88@linux.ibm.com> wrote: >> >> >> On 16/04/25 7:33 pm, Venkat Rao Bagalkote wrote: >>> On 16/04/25 6:41 pm, Athira Rajeev wrote: >>>>> On 16 Apr 2025, at 5:12 PM, Venkat Rao Bagalkote <venkat88@linux.ibm.com> wrote: >>>>> >>>>> Hello, >>>>> >>>>> >>>>> I am observing a new build warning on today mainline kernel, with head commit: g834a4a689699 >>>>> >>>>> Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>>>> >>>>> >>>>> Warnings: >>>>> >>>>> diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h >>>>> >>>>> >>>>> If you happen to fix this, please add below tag. >>>>> >>>>> >>>>> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> >>>> Hi Venkat >>>> >>>> Can you please check with https://web.git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/?h=tmp.perf-tools-next >>>> with the tmp.perf-tools-next branch.. >>> >>> I verified with perf-tools-next repo on both branches namely tmp.perf-tools-next and perf-tools-next, and I think this warning got recently introduced. >> /Typo in the last mail, please refer to below update./ >> >> I verified with perf-tools-next repo on both branches namely tmp.perf-tools-next and perf-tools-next, and issue is not seen there. And I think this warning got recently introduced. > Hi Venkat, > > Can you please check with this change: > > From 9a92d361ca2c22ac774b904211eb8c4f7c80fc85 Mon Sep 17 00:00:00 2001 > From: Athira Rajeev <atrajeev@linux.ibm.com> > Date: Fri, 9 May 2025 07:49:40 -0500 > Subject: [PATCH] tools headers: Update the include/vdso/unaligned.h to sync > headers > > To pick up the changes in: > commit acea9943271b ("vdso: Address variable shadowing in macros") > > Addressing this perf tools build warning: > > diff -u tools/include/vdso/unaligned.h include/vdso/unaligned.h > > Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> > Signed-off-by: Athira Rajeev <atrajeev@linux.ibm.com> Tested this patch and it fixes the reported warnings. Hence, Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Logs: make -C perf/ make: Entering directory '/root/linux/tools/perf' BUILD: Doing 'make -j32' parallel build Warning: Kernel ABI header differences: diff -u tools/include/uapi/linux/bits.h include/uapi/linux/bits.h diff -u tools/include/linux/bits.h include/linux/bits.h diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h Makefile.config:1093: No libcapstone found, disables disasm engine support for 'perf script', please install libcapstone-dev/capstone-devel Makefile.config:1155: libpfm4 not found, disables libpfm4 support. Please install libpfm4-dev Auto-detecting system features: ... libdw: [ on ] ... glibc: [ on ] ... libbfd: [ on ] ... libbfd-buildid: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... numa_num_possible_cpus: [ on ] ... libperl: [ on ] ... libpython: [ on ] ... libcrypto: [ on ] ... libunwind: [ OFF ] ... libcapstone: [ OFF ] ... llvm-perf: [ on ] ... zlib: [ on ] ... lzma: [ on ] ... get_cpuid: [ OFF ] ... bpf: [ on ] ... libaio: [ on ] ... libzstd: [ on ] GEN common-cmds.h GEN /root/linux/tools/perf/arch/arm64/include/generated/asm/sysreg-defs.h PERF_VERSION = 6.15.rc2.g834a4a689699 GEN perf-archive GEN perf-iostat CC jvmti/libjvmti.o Regards, Venkat. > --- > tools/include/vdso/unaligned.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/tools/include/vdso/unaligned.h b/tools/include/vdso/unaligned.h > index eee3d2a4dbe4..ff0c06b6513e 100644 > --- a/tools/include/vdso/unaligned.h > +++ b/tools/include/vdso/unaligned.h > @@ -2,14 +2,14 @@ > #ifndef __VDSO_UNALIGNED_H > #define __VDSO_UNALIGNED_H > -#define __get_unaligned_t(type, ptr) ({ \ > - const struct { type x; } __packed *__pptr = (typeof(__pptr))(ptr); \ > - __pptr->x; \ > +#define __get_unaligned_t(type, ptr) ({ \ > + const struct { type x; } __packed * __get_pptr = (typeof(__get_pptr))(ptr); \ > + __get_pptr->x; \ > }) > -#define __put_unaligned_t(type, val, ptr) do { \ > - struct { type x; } __packed *__pptr = (typeof(__pptr))(ptr); \ > - __pptr->x = (val); \ > +#define __put_unaligned_t(type, val, ptr) do { \ > + struct { type x; } __packed * __put_pptr = (typeof(__put_pptr))(ptr); \ > + __put_pptr->x = (val); \ > } while (0) > #endif /* __VDSO_UNALIGNED_H */ > -- 2.47.1 > > Thanks > Athira > > Hi Namhyung, > > I see we have few other warnings for which fixes is planned to picked for next cycle: https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#me2ee1b70aeaad4901fb4d995b3b3015cd32f1adc > > Can we also consider picking this one include/vdso/unaligned.h .. Once Venkat tests , I will post this as separate patch > > Thanks > Athira >>> Git Bisect is pointing to acea9943271b62905033f2f8ca571cdd52d6ea7b as first bad commit. >>> >>> >>> Below is the bisect log: >>> >>> git bisect log >>> git bisect start >>> # status: waiting for both good and bad commits >>> # bad: [834a4a689699090a406d1662b03affa8b155d025] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma >>> git bisect bad 834a4a689699090a406d1662b03affa8b155d025 >>> # status: waiting for good commit(s), bad commit known >>> # good: [0af2f6be1b4281385b618cb86ad946eded089ac8] Linux 6.15-rc1 >>> git bisect good 0af2f6be1b4281385b618cb86ad946eded089ac8 >>> # bad: [ef7785882672e73847fb80f6c39e76998d4db57b] Merge tag 'bcachefs-2025-04-10' of git://evilpiepirate.org/bcachefs >>> git bisect bad ef7785882672e73847fb80f6c39e76998d4db57b >>> # good: [e4742a89cfaced383db758bef94037637899487a] Merge tag 'block-6.15-20250410' of git://git.kernel.dk/linux >>> git bisect good e4742a89cfaced383db758bef94037637899487a >>> # good: [eaa517b77e63442260640d875f824d1111ca6569] ethtool: cmis_cdb: Fix incorrect read / write length extension >>> git bisect good eaa517b77e63442260640d875f824d1111ca6569 >>> # good: [ac253a537da3b210fa4b65d522d5533fc68f9515] Merge tag 'perf-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >>> git bisect good ac253a537da3b210fa4b65d522d5533fc68f9515 >>> # good: [3c9de67dd37029cca1d0f391ff565b3809b40a1f] Merge tag 'x86-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >>> git bisect good 3c9de67dd37029cca1d0f391ff565b3809b40a1f >>> # bad: [0c7cae12f67c4c5fd232cffb27023deb409e1e20] Merge tag 'irq-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >>> git bisect bad 0c7cae12f67c4c5fd232cffb27023deb409e1e20 >>> # bad: [34833819d2270ef96fa98fe3c1d3d297b5dec986] Merge tag 'timers-urgent-2025-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip >>> git bisect bad 34833819d2270ef96fa98fe3c1d3d297b5dec986 >>> # good: [92e250c624ea37fde64bfd624fd2556f0d846f18] timekeeping: Add a lockdep override in tick_freeze() >>> git bisect good 92e250c624ea37fde64bfd624fd2556f0d846f18 >>> # bad: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address variable shadowing in macros >>> git bisect bad acea9943271b62905033f2f8ca571cdd52d6ea7b >>> # first bad commit: [acea9943271b62905033f2f8ca571cdd52d6ea7b] vdso: Address variable shadowing in macros >>> >>> >>> Regards, >>> >>> Venkat. >>> >>>> Also there is a patchset here: >>>> https://lore.kernel.org/linux-perf-users/FE96FD04-4396-4C34-A70D-2A592FD5F916@linux.ibm.com/T/#m3e9d6aac4c34ebf42f18f3c213b7dff8f8c70d9d >>>> >>>> Which I think you have already tested.. >>>> >>>> Thanks >>>> Athira >>>>> Regards, >>>>> >>>>> Venkat. > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-16 17:16 ` Venkat Rao Bagalkote @ 2025-04-17 2:01 ` jiang.peng9 2025-04-17 2:45 ` Arnaldo Carvalho de Melo 0 siblings, 1 reply; 9+ messages in thread From: jiang.peng9 @ 2025-04-17 2:01 UTC (permalink / raw) To: venkat88 Cc: atrajeev, namhyung, linux-perf-users, maddy, mingo, linux-kernel, shao.mingyin, tglx > I verified with perf-tools-next repo on both branches namely > tmp.perf-tools-next and perf-tools-next, and I think this warning got > recently introduced. > > Git Bisect is pointing to acea9943271b62905033f2f8ca571cdd52d6ea7b as > first bad commit. Hi everyone, I apologize for the oversight. My commit (acea9943271b62905033f2f8ca571cdd52d6ea7b) updated include/vdso/unaligned.h but I forgot to sync it with tools/include/vdso/unaligned.h. I'll be more careful in the future to avoid such mistakes. Thanks for your patience! Best Regards, Peng Jiang ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-17 2:01 ` jiang.peng9 @ 2025-04-17 2:45 ` Arnaldo Carvalho de Melo 2025-04-17 3:13 ` jiang.peng9 0 siblings, 1 reply; 9+ messages in thread From: Arnaldo Carvalho de Melo @ 2025-04-17 2:45 UTC (permalink / raw) To: jiang.peng9 Cc: venkat88, atrajeev, namhyung, linux-perf-users, maddy, mingo, linux-kernel, shao.mingyin, tglx On Thu, Apr 17, 2025 at 10:01:18AM +0800, jiang.peng9@zte.com.cn wrote: > > I verified with perf-tools-next repo on both branches namely > > tmp.perf-tools-next and perf-tools-next, and I think this warning got > > recently introduced. > > Git Bisect is pointing to acea9943271b62905033f2f8ca571cdd52d6ea7b as > > first bad commit. > Hi everyone, > I apologize for the oversight. My commit > (acea9943271b62905033f2f8ca571cdd52d6ea7b) updated > include/vdso/unaligned.h but I forgot to sync it with > tools/include/vdso/unaligned.h. I'll be more careful in the future to > avoid such mistakes. Hey, please take a look at: tools/include/uapi/README More importantly this paragraph: "So its important not to touch the copies in tools/ when doing changes in the original kernel headers, that will be done later, when check-headers.sh inform about the change to the perf tools hackers." Cheers, - Arnaldo ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [mainline]tools/perf build warnings 2025-04-17 2:45 ` Arnaldo Carvalho de Melo @ 2025-04-17 3:13 ` jiang.peng9 0 siblings, 0 replies; 9+ messages in thread From: jiang.peng9 @ 2025-04-17 3:13 UTC (permalink / raw) To: acme Cc: venkat88, atrajeev, namhyung, linux-perf-users, maddy, mingo, linux-kernel, shao.mingyin, tglx > Hey, please take a look at: > > tools/include/uapi/README > > More importantly this paragraph: > > "So its important not to touch the copies in tools/ when doing changes in > the original kernel headers, that will be done later, when > check-headers.sh inform about the change to the perf tools hackers." Hi Arnaldo, Thanks for pointing that out. I'll make sure to follow the instructions in tools/include/uapi/README and avoid modifying the copies in tools/ directly. Appreciate your guidance! Best Regards, Peng Jiang ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-04-17 3:14 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-04-16 11:42 [mainline]tools/perf build warnings Venkat Rao Bagalkote 2025-04-16 13:11 ` Athira Rajeev 2025-04-16 14:03 ` Venkat Rao Bagalkote 2025-04-16 14:19 ` Venkat Rao Bagalkote 2025-04-16 14:34 ` Athira Rajeev 2025-04-16 17:16 ` Venkat Rao Bagalkote 2025-04-17 2:01 ` jiang.peng9 2025-04-17 2:45 ` Arnaldo Carvalho de Melo 2025-04-17 3:13 ` jiang.peng9
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.