Re: [RFC][PATCH] unwind: Add stacktrace_setup system call

From: Steven Rostedt

Date: Wed Apr 29 2026 - 16:03:55 EST


On Wed, 29 Apr 2026 14:58:15 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > If the main executable doesn't have a sframe section, I don't see why this
> > shouldn't be allowed to add one.
>
> The address is added via mtree_insert_range() which states it will return
> -EEXISTS if the range is occupied.

I confirmed this. I changed the test program to load its own sframe section
again, and it errors out with -EEXISTS.

-- Steve