[for-linus,0/3] tracing: Minor fixes for 6.5-rc2

Message ID 20230723200623.034313147@goodmis.org
Headers
Series tracing: Minor fixes for 6.5-rc2 |

Message

Steven Rostedt July 23, 2023, 8:06 p.m. UTC
  Tracing fixes for 6.5-rc2:

- Swapping the ring buffer for snapshotting (for things like irqsoff)
  can crash if the ring buffer is being resized. Disable swapping
  when this happens. The missed swap will be reported to the tracer.

- Report error if the histogram fails to be created due to an error in
  adding a histogram variable, in event_hist_trigger_parse().

- Remove unused declaration of tracing_map_set_field_descr().


Chen Lin (1):
      ring-buffer: Do not swap cpu_buffer during resize process

Mohamed Khalfella (1):
      tracing/histograms: Return an error if we fail to add histogram to hist_vars list

YueHaibing (1):
      tracing: Remove unused extern declaration tracing_map_set_field_descr()

----
 kernel/trace/ring_buffer.c       | 14 +++++++++++++-
 kernel/trace/trace.c             |  3 ++-
 kernel/trace/trace_events_hist.c |  3 ++-
 kernel/trace/tracing_map.h       |  4 ----
 4 files changed, 17 insertions(+), 7 deletions(-)