tracing: probeevent: Fix module symbol probing
Get series with b4
b4 am 153547303754.26502.5265242979168613920.stgit@devboxVersions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tracing/uprobes: Fix to return -EFAULT if copy_from_user failedkernel/ | +1 | 0 replies | |
| 2/3 | tracing/kprobes: Check the probe on unloaded module correctlykernel/ | +26 | 0 replies | |
| 3/3 | tracing/kprobes: Allow kprobe-events to record module symbolkernel/ kernel/ kernel/ | +68 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing
Hi,
This series is for fixing some bugs in Steve's ftrace/kprobes branch.
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
Which is based on my fetcharg improvement series.
https://lkml.org/lkml/2018/4/25/601
This includes following fixes.
- Fix copy_from_user() misusing which Dan was reported.
- Fix to reject incorrect probeevent on loaded kernel module.
- Fix to update symbol-based argument on module.
This also checks the symbol-based argument is correct or not when target module is loaded. If it is not correct, the event is kept unavailable.
Thank you,
---
Masami Hiramatsu (3):
tracing/uprobes: Fix to return -EFAULT if copy_from_user failed tracing/kprobes: Check the probe on unloaded module correctly tracing/kprobes: Allow kprobe-events to record module symbol
kernel/trace/trace_kprobe.c | 51 ++++++++++++++++++++++++++--------- kernel/trace/trace_probe.c | 62 +++++++++++++++++++++++++++++++++++++------ kernel/trace/trace_probe.h | 4 ++- kernel/trace/trace_uprobe.c | 2 + 4 files changed, 95 insertions(+), 24 deletions(-)
--
Masami Hiramatsu (Linaro) <[email protected]>