[PATCH 0/3] tracing/probe: Fix some issues on multiprobe support
From: Masami Hiramatsu
Date: Wed Sep 18 2019 - 04:55:35 EST
Hi Steve,
Here are the patches to fix some issues on multiprobe support
(and add a testcase for the fix)
[1/3] Fix to allow user to enable probe events on unloaded modules.
This was supported before multiprobe support. Fix it.
[2/3] Reject exactly same probe event. Multiprobe accepts the exact
same probe as existing one, but it is meansingless and confusing.
Reject the probe events which has exact same probe point and same
arguments.
[3/3] Add a testcase for [2/3].
Thank you,
---
Masami Hiramatsu (3):
tracing/probe: Fix to allow user to enable events on unloaded modules
tracing/probe: Reject exactly same probe event
selftests/ftrace: Update kprobe event error testcase
kernel/trace/trace_kprobe.c | 69 ++++++++++++++------
kernel/trace/trace_probe.h | 3 +
kernel/trace/trace_uprobe.c | 52 +++++++++++++--
.../ftrace/test.d/kprobe/kprobe_syntax_errors.tc | 1
4 files changed, 96 insertions(+), 29 deletions(-)
--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>