Re: [BUG] Stack overflow when running perf and function tracer
From: Peter Zijlstra
Date: Fri Oct 30 2020 - 06:32:54 EST
On Fri, Oct 30, 2020 at 11:26:01AM +0100, Thomas Gleixner wrote:
> > The only thing I can come up with in a hurry is that that dummy_iregs
> > thing really should be static. That's 168 bytes of stack out the window
> > right there.
>
> What's worse is perf_sample_data which is 384 bytes and is 64 bytes aligned.
Urgh, that thing just keeps on growing :/
I'll try and have a look if we can both shrink the thing and move it off
stack.