Skip to content

tracing/probe: Fix some issues on multiprobe support

Masami Hiramatsu lkml 1 version New

Get series with b4
b4 am 156879692790.31056.9404391078827158266.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing/probe: Fix to allow user to enable events on unloaded moduleskernel/trace/trace_kprobe.c+5 -120 replies
2/3tracing/probe: Reject exactly same probe eventkernel/trace/trace_kprobe.c kernel/trace/trace_probe.h kernel/trace/trace_uprobe.c+90 -170 replies
3/3selftests/ftrace: Update kprobe event error testcasetools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] tracing/probe: Fix some issues on multiprobe support

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 <[email protected]>