Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tracing: Remove unused TRACE_BUFFER bits

Commit 567cd4da54ff ("ring-buffer: User context bit recursion checking")
added the TRACE_BUFFER bits to be used in the current task's trace_recursion
field. But the final submission of the logic removed the use of those bits,
but never removed the bits themselves (they were never used in upstream
Linux). These can be safely removed.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

+1 -6
+1 -6
kernel/trace/trace.h
··· 557 557 * caller, and we can skip the current check. 558 558 */ 559 559 enum { 560 - TRACE_BUFFER_BIT, 561 - TRACE_BUFFER_NMI_BIT, 562 - TRACE_BUFFER_IRQ_BIT, 563 - TRACE_BUFFER_SIRQ_BIT, 564 - 565 - /* Start of function recursion bits */ 560 + /* Function recursion bits */ 566 561 TRACE_FTRACE_BIT, 567 562 TRACE_FTRACE_NMI_BIT, 568 563 TRACE_FTRACE_IRQ_BIT,