[PATCH 0/5] tracing: Various updates

Steven Rostedt
2021-11-30T02:43:25Z

- Make trace_event_buffer_lock_reserver always disable preemption
(it says it does but not always)

- Have kprobes, uprobes and eprobes use
trace_event_buffer_lock_reserver() functions.

Steven Rostedt (VMware) (5):
tracing: Use __this_cpu_read() in trace_event_buffer_lock_reserver()
tracing: Disable preemption when using the filter buffer
tracing: Have eprobes use filtering logic of trace events
tracing/kprobes: Do not open code event reserve logic
tracing/uprobes: Use trace_event_buffer_reserve() helper

----
kernel/trace/trace.c | 59 +++++++++++++++++++++++++--------------------
kernel/trace/trace.h | 4 ++-
kernel/trace/trace_eprobe.c | 16 ++++--------
kernel/trace/trace_kprobe.c | 25 ++++++-------------
kernel/trace/trace_uprobe.c | 10 +++-----
5 files changed, 52 insertions(+), 62 deletions(-)