Re: [PATCH] tracing: Have all levels of checks prevent recursion

From: Steven Rostedt
Date: Fri Oct 15 2021 - 15:01:00 EST


On Fri, 15 Oct 2021 20:24:59 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > @@ -206,11 +206,7 @@ DEFINE_OUTPUT_COPY(__output_copy_user, arch_perf_out_copy_user)
> > static inline int get_recursion_context(int *recursion)
> > {
> > unsigned int pc = preempt_count();
>
> Although I think we can do without that ^ line as well :-)

Ah, I could have sworn I deleted it. Oh well, will make a proper patch set.

Thanks!

-- Steve


>
> > - unsigned char rctx = 0;