Linus, The majority of these changes are from Masami Hiramatsu bringing kprobes up to par with the latest changes to ftrace (multi buffering and the new function probes).
He also discovered and fixed some bugs in doing so. When pulling in his patches, I also found a few minor bugs as well and fixed them. This also includes a compile fix for some archs that select the ring buffer but not tracing. I based this off of the last patch you took from me that fixed the merge conflict error, as that was the commit that had all the changes I needed for this set of changes. Please pull the latest trace-fixes-v3.10 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git trace-fixes-v3.10 Tag SHA1: b3955bf07072c5eb343b45faec09fee2d09cf695 Head SHA1: b8820084f2130b3dcfb09c78ac16cdd2194a345b Masami Hiramatsu (11): tracing: Don't succeed if event_enable_func did not register anything ftrace, kprobes: Fix a deadlock on ftrace_regex_lock ftrace: Cleanup regex_lock and ftrace_lock around hash updating tracing/kprobes: Fix to increment return event probe hit-count tracing: Indicate enabled soft-mode in enable file tracing: Modify soft-mode only if there's no other referrer tracing/kprobes: Use bool for retprobe checker tracing/kprobes: Increment probe hit-count even if it is used by perf tracing/kprobes: Pass trace_probe directly from dispatcher tracing/kprobes: Support ftrace_event_file base multibuffer tracing/kprobes: Support soft-mode disabling Steven Rostedt (Red Hat) (7): ring-buffer: Select IRQ_WORK tracing: Return error if register_ftrace_function_probe() fails for event_enable_func() ftrace: Have ftrace_regex_write() return either read or error tracing: Add helper function trace_create_new_event() to remove duplicate code ftrace: Fix locking in register_ftrace_function_probe() ftrace: Fix the output of enabled_functions debug file ftrace: Fix function probe when more than one probe is added ---- include/linux/ftrace.h | 4 + include/linux/ftrace_event.h | 1 + kernel/trace/Kconfig | 2 +- kernel/trace/ftrace.c | 126 ++++++++++++------ kernel/trace/trace_events.c | 54 ++++++-- kernel/trace/trace_kprobe.c | 289 ++++++++++++++++++++++++++++++++++-------- 6 files changed, 368 insertions(+), 108 deletions(-)
signature.asc
Description: This is a digitally signed message part