[for-linus][PATCH 0/7] tracing: Fixes for 5.14-rc2

From: Steven Rostedt
Date: Fri Jul 23 2021 - 08:56:38 EST



- Fix deadloop in ring buffer because of using stale "read" variable

- Fix synthetic event use of field_pos as boolean and not an index

- Fixed histogram special var "cpu" overriding event fields called "cpu"

- Cleaned up error prone logic in alloc_synth_event()

- Removed call to synchronize_rcu_tasks_rude() when not needed

- Removed redundant initialization of a local variable "ret"

- Fixed kernel crash when updating tracepoint callbacks of different
priorities.


Colin Ian King (1):
ftrace: Remove redundant initialization of variable ret

Haoran Luo (1):
tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.

Nicolas Saenz Julienne (1):
ftrace: Avoid synchronize_rcu_tasks_rude() call when not necessary

Steven Rostedt (VMware) (4):
tracing: Synthetic event field_pos is an index not a boolean
tracing/histogram: Rename "cpu" to "common_cpu"
tracing: Clean up alloc_synth_event()
tracepoints: Update static_call before tp_funcs when adding a tracepoint

----
Documentation/trace/histogram.rst | 2 +-
kernel/trace/ftrace.c | 5 +++--
kernel/trace/ring_buffer.c | 28 ++++++++++++++++++++++++----
kernel/trace/trace.c | 4 ++++
kernel/trace/trace_events_hist.c | 22 ++++++++++++++++------
kernel/trace/trace_events_synth.c | 8 +++-----
kernel/trace/trace_synth.h | 2 +-
kernel/tracepoint.c | 2 +-
8 files changed, 53 insertions(+), 20 deletions(-)