Linux kernel regressions
 help / color / mirror / Atom feed
* Re: [PATCH 7.2 0000/1815] 7.2.6-rc1 review
       [not found] <20260912065648.999753832@linuxfoundation.org>
@ 2026-09-12 10:18 ` Thorsten Leemhuis
  2026-09-13 12:54   ` Benjamin Boortz
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Leemhuis @ 2026-09-12 10:18 UTC (permalink / raw)
  To: Greg Kroah-Hartman, stable
  Cc: patches, linux-kernel, torvalds, akpm, linux, shuah, patches,
	lkft-triage, pavel, jonathanh, f.fainelli, sudipm.mukherjee,
	rwarsow, conor, hargar, broonie, achill, sr,
	Linux kernel regressions list

On 9/12/26 08:29, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 7.2.6 release.
> There are 1815 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> [...]

My builds failed while compiling perf:

>> ui/browsers/hists.c: In function ‘evsel__hists_browse’:
>> ui/browsers/hists.c:3191:41: error: ‘hotkey_act’ undeclared (first use in this function)
>>  3191 |                                 memset(&hotkey_act, 0, sizeof(hotkey_act));
>>       |                                         ^~~~~~~~~~
>> ui/browsers/hists.c:3191:41: note: each undeclared identifier is reported only once for each function it appears in
Reverting "perf ui hists: In report UI ensure thread is set with
reference counting" fixes this. Haven't tried, but maybe including
bd86119c3ee6ed ("perf ui hists: Fix dso_filter reference leak and exit
zoom cleanup") will fix this, too.

That got me a little further, but then I ran into this:

>> tools/perf/util/python.c: In function ‘pyrf_evsel__open’:
>> tools/perf/util/python.c:1104:9: error: implicit declaration of function ‘CHECK_INITIALIZED’ [-Wimplicit-function-declaration]
>>  1104 |         CHECK_INITIALIZED(evsel, "evsel");
>>       |         ^~~~~~~~~~~~~~~~~
>> tools/perf/util/python.c: In function ‘pyrf_evsel__set_tracking’:
>> tools/perf/util/python.c:1295:9: error: implicit declaration of function ‘CHECK_INITIALIZED_INT’ [-Wimplicit-function-declaration]
>>  1295 |         CHECK_INITIALIZED_INT(pevsel->evsel, "evsel");
>>       |         ^~~~~~~~~~~~~~~~~~~~~

Only looked briefly, but didn't spot a simple way to work around that
through a simple revert or two (but it's quite likely I missed something).

Ciao, Thorsten

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

* Re: [PATCH 7.2 0000/1815] 7.2.6-rc1 review
  2026-09-12 10:18 ` [PATCH 7.2 0000/1815] 7.2.6-rc1 review Thorsten Leemhuis
@ 2026-09-13 12:54   ` Benjamin Boortz
  2026-09-14  9:18     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Boortz @ 2026-09-13 12:54 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Greg Kroah-Hartman, stable, patches, linux-kernel, torvalds, akpm,
	linux, shuah, patches, lkft-triage, pavel, jonathanh, f.fainelli,
	sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr,
	Linux kernel regressions list

On Sat, Sep 12, 2026 at 12:18:56PM +0200, Thorsten Leemhuis wrote:

>On 9/12/26 08:29, Greg Kroah-Hartman wrote:
>> This is the start of the stable review cycle for the 7.2.6 release.
>> There are 1815 patches in this series, all will be posted as a response
>> to this one.  If anyone has any issues with these being applied, please
>> let me know.
>> [...]
>
>My builds failed while compiling perf:
>
>>> ui/browsers/hists.c: In function ‘evsel__hists_browse’:
>>> ui/browsers/hists.c:3191:41: error: ‘hotkey_act’ undeclared (first use in this function)
>>>  3191 |                                 memset(&hotkey_act, 0, sizeof(hotkey_act));
>>>       |                                         ^~~~~~~~~~
>>> ui/browsers/hists.c:3191:41: note: each undeclared identifier is reported only once for each function it appears in
>Reverting "perf ui hists: In report UI ensure thread is set with
>reference counting" fixes this. Haven't tried, but maybe including
>bd86119c3ee6ed ("perf ui hists: Fix dso_filter reference leak and exit
>zoom cleanup") will fix this, too.
>
>That got me a little further, but then I ran into this:
>
>>> tools/perf/util/python.c: In function ‘pyrf_evsel__open’:
>>> tools/perf/util/python.c:1104:9: error: implicit declaration of function ‘CHECK_INITIALIZED’ [-Wimplicit-function-declaration]
>>>  1104 |         CHECK_INITIALIZED(evsel, "evsel");
>>>       |         ^~~~~~~~~~~~~~~~~
>>> tools/perf/util/python.c: In function ‘pyrf_evsel__set_tracking’:
>>> tools/perf/util/python.c:1295:9: error: implicit declaration of function ‘CHECK_INITIALIZED_INT’ [-Wimplicit-function-declaration]
>>>  1295 |         CHECK_INITIALIZED_INT(pevsel->evsel, "evsel");
>>>       |         ^~~~~~~~~~~~~~~~~~~~~
>
>Only looked briefly, but didn't spot a simple way to work around that
>through a simple revert or two (but it's quite likely I missed something).
>
>Ciao, Thorsten
>


build-tested and reproduced the 2 issues on x86_64 with:

   make -j$(nproc) -C ./tools/perf O=/tmp/perf-build

observed errors:

1) tools/perf/ui/browsers/hists.c:3191:41: error: 'hotkey_act' undeclared

2ec3b9858725 — "perf hists browser: Increase MAX_OPTIONS to prevent stack buffer overflow"
   prerequisite: bd86119c3ee6 expects MAX_OPTIONS=32; stable-rc still has 16
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2ec3b985872594031cc1000b830344de5c26633d
bd86119c3ee6 — declares hotkey_act, fixes dso_filter reference leak
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bd86119c3ee6ed7b8fc9be8298fe49f1a5355a46


2) tools/perf/util/python.c:1104:9: error: implicit declaration of function 'CHECK_INITIALIZED'

01fa2d416ace — defines CHECK_INITIALIZED
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01fa2d416aceab51f97ec2769e8da9971a605eeb


With the 3 patches applied, perf build successful.

Benni


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

* Re: [PATCH 7.2 0000/1815] 7.2.6-rc1 review
  2026-09-13 12:54   ` Benjamin Boortz
@ 2026-09-14  9:18     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2026-09-14  9:18 UTC (permalink / raw)
  To: Benjamin Boortz
  Cc: Thorsten Leemhuis, stable, patches, linux-kernel, torvalds, akpm,
	linux, shuah, patches, lkft-triage, pavel, jonathanh, f.fainelli,
	sudipm.mukherjee, rwarsow, conor, hargar, broonie, achill, sr,
	Linux kernel regressions list

On Sun, Sep 13, 2026 at 02:54:39PM +0200, Benjamin Boortz wrote:
> On Sat, Sep 12, 2026 at 12:18:56PM +0200, Thorsten Leemhuis wrote:
> 
> > On 9/12/26 08:29, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 7.2.6 release.
> > > There are 1815 patches in this series, all will be posted as a response
> > > to this one.  If anyone has any issues with these being applied, please
> > > let me know.
> > > [...]
> > 
> > My builds failed while compiling perf:
> > 
> > > > ui/browsers/hists.c: In function ‘evsel__hists_browse’:
> > > > ui/browsers/hists.c:3191:41: error: ‘hotkey_act’ undeclared (first use in this function)
> > > >  3191 |                                 memset(&hotkey_act, 0, sizeof(hotkey_act));
> > > >       |                                         ^~~~~~~~~~
> > > > ui/browsers/hists.c:3191:41: note: each undeclared identifier is reported only once for each function it appears in
> > Reverting "perf ui hists: In report UI ensure thread is set with
> > reference counting" fixes this. Haven't tried, but maybe including
> > bd86119c3ee6ed ("perf ui hists: Fix dso_filter reference leak and exit
> > zoom cleanup") will fix this, too.
> > 
> > That got me a little further, but then I ran into this:
> > 
> > > > tools/perf/util/python.c: In function ‘pyrf_evsel__open’:
> > > > tools/perf/util/python.c:1104:9: error: implicit declaration of function ‘CHECK_INITIALIZED’ [-Wimplicit-function-declaration]
> > > >  1104 |         CHECK_INITIALIZED(evsel, "evsel");
> > > >       |         ^~~~~~~~~~~~~~~~~
> > > > tools/perf/util/python.c: In function ‘pyrf_evsel__set_tracking’:
> > > > tools/perf/util/python.c:1295:9: error: implicit declaration of function ‘CHECK_INITIALIZED_INT’ [-Wimplicit-function-declaration]
> > > >  1295 |         CHECK_INITIALIZED_INT(pevsel->evsel, "evsel");
> > > >       |         ^~~~~~~~~~~~~~~~~~~~~
> > 
> > Only looked briefly, but didn't spot a simple way to work around that
> > through a simple revert or two (but it's quite likely I missed something).
> > 
> > Ciao, Thorsten
> > 
> 
> 
> build-tested and reproduced the 2 issues on x86_64 with:
> 
>   make -j$(nproc) -C ./tools/perf O=/tmp/perf-build
> 
> observed errors:
> 
> 1) tools/perf/ui/browsers/hists.c:3191:41: error: 'hotkey_act' undeclared
> 
> 2ec3b9858725 — "perf hists browser: Increase MAX_OPTIONS to prevent stack buffer overflow"
>   prerequisite: bd86119c3ee6 expects MAX_OPTIONS=32; stable-rc still has 16
>   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2ec3b985872594031cc1000b830344de5c26633d
> bd86119c3ee6 — declares hotkey_act, fixes dso_filter reference leak
>   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bd86119c3ee6ed7b8fc9be8298fe49f1a5355a46
> 
> 
> 2) tools/perf/util/python.c:1104:9: error: implicit declaration of function 'CHECK_INITIALIZED'
> 
> 01fa2d416ace — defines CHECK_INITIALIZED
>   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01fa2d416aceab51f97ec2769e8da9971a605eeb
> 
> 
> With the 3 patches applied, perf build successful.

Thanks for that, it fixes it for me too, I'll go queue these up now.

greg k-h

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

end of thread, other threads:[~2026-09-14  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260912065648.999753832@linuxfoundation.org>
2026-09-12 10:18 ` [PATCH 7.2 0000/1815] 7.2.6-rc1 review Thorsten Leemhuis
2026-09-13 12:54   ` Benjamin Boortz
2026-09-14  9:18     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox