Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8b891a2 authored by Steven Rostedt's avatar Steven Rostedt
Browse files

ring-buffer: allow tracing_off to be used in core kernel code



tracing_off() is the fastest way to stop recording to the ring buffers.
This may be used in places like panic and die, just before the
ftrace_dump is called.

This patch adds the appropriate CPP conditionals to make it a stub
function when the ring buffer is not configured it.

Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent 78d904b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment