Thread (20 messages) 20 messages, 5 authors, 2023-07-22

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

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-10-15 19:00:59
Also in: linux-riscv, live-patching, lkml

On Fri, 15 Oct 2021 20:24:59 +0200
Peter Zijlstra [off-list ref] wrote:
quoted
@@ -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

quoted
-	unsigned char rctx = 0;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help