Re: [patch V2 01/29] tracing: Cleanup stack trace code

From: Steven Rostedt
Date: Thu Apr 18 2019 - 17:50:30 EST


On Thu, 18 Apr 2019 17:24:43 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> I believe it was for historical leftovers (there was a time it was
> required), and left there for "paranoid" sake. But let me apply the
> patch and see if it is really needed.

I removed the +1 on the max_entries and set SET_TRACE_ENTRIES to 5 (a
bit extreme). Then I ran the stack tracing with KASAN enabled and it
never complained.

As stated, it was there for historical reasons and I felt 500 was way
more than enough and left the buffer there just out of laziness and
paranoia.

Feel free to remove that if you want.

-- Steve