Re: [patch V2 01/29] tracing: Cleanup stack trace code
From: Thomas Gleixner
Date: Thu Apr 18 2019 - 17:15:31 EST
On Thu, 18 Apr 2019, Josh Poimboeuf wrote:
> On Thu, Apr 18, 2019 at 10:41:20AM +0200, Thomas Gleixner wrote:
> > - Remove the extra array member of stack_dump_trace[]. It's not required as
> > the stack tracer stores at max array size - 1 entries so there is still
> > an empty slot.
>
> What is the empty slot used for?
I was trying to find an answer but failed. Maybe it's just historical
leftovers or Steven knows where the magic is in this maze.
Thanks,
tglx