Re: linux-next: build warnings after merge of the tip tree

From: Steven Rostedt
Date: Mon Mar 21 2022 - 12:15:56 EST


On Mon, 21 Mar 2022 12:12:09 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > > funcB:
> > > call __fentry__
> > push funcB on trace-stack
> > >
> > > [..]
> > call __fexit__
> > pop trace-stack until empty
> > 'exit funcB'
> > 'exit funcA'
>
> And what happens if funcC called funcA and it too was on the stack. We pop
> that too? But it's not done yet, because calling of funcA was not a tail
> call.

And I just thought of another issue, where even my solution wont fix it.
What happens if we trace funcA but not funcB? How do we get to trace the
end of funcA?

-- Steve