diff options
author | 2025-05-05 17:21:13 -0400 | |
---|---|---|
committer | 2025-05-09 15:19:10 -0400 | |
commit | 092a38565ed87cbda6fe7dd16c742df6f907483e (patch) | |
tree | a6c315cbb438ad1595436b644ab34079b28574c8 /scripts/lib/kdoc/kdoc_files.py | |
parent | tracing: Do not use per CPU array_buffer.data->disabled for cpumask (diff) | |
download | linux-rng-092a38565ed87cbda6fe7dd16c742df6f907483e.tar.xz linux-rng-092a38565ed87cbda6fe7dd16c742df6f907483e.zip |
ring-buffer: Add ring_buffer_record_is_on_cpu()
Add the function ring_buffer_record_is_on_cpu() that returns true if the
ring buffer for a give CPU is writable and false otherwise.
Also add tracer_tracing_is_on_cpu() to return if the ring buffer for a
given CPU is writeable for a given trace_array.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/20250505212236.059853898@goodmis.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions