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

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2021-10-15 19:00:59 
- List: live-patching
- Page: https://ratatoskr.run/live-patching/2021/10/1543781
- Thread: https://ratatoskr.run/linuxppc-dev/2021/10/1543513/t.md

```text
On Fri, 15 Oct 2021 20:24:59 +0200
Peter Zijlstra [ref] 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;
```
