[for-linus][PATCH 0/2] tracing: Fixes for 6.11

Steven Rostedt posted 2 patches 1 year, 5 months ago
There is a newer version of this series
kernel/trace/trace.c                 |  2 +-
tools/tracing/rtla/src/osnoise_top.c | 11 ++++-------
2 files changed, 5 insertions(+), 8 deletions(-)
[for-linus][PATCH 0/2] tracing: Fixes for 6.11
Posted by Steven Rostedt 1 year, 5 months ago
A couple of fixes for tracing:

- Prevent a NULL pointer dereference in the error path of rtla

- Fix an infinite loop bug when reading from the ring buffer when closed.
  If there's a thread trying to read the ring buffer and it gets closed
  by another thread, the one reading will go into an infinite loop
  when the buffer is empty instead of exiting back to user space.

  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/urgent

Head SHA1: 90574d2a675947858b47008df8d07f75ea50d0d0


Dan Carpenter (1):
      rtla/osnoise: Prevent NULL dereference in error handling

Steven Rostedt (1):
      tracing: Return from tracing_buffers_read() if the file has been closed

----
 kernel/trace/trace.c                 |  2 +-
 tools/tracing/rtla/src/osnoise_top.c | 11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)