[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[ftrace/kprobes PATCH 0/3] tracing: probeevent: Fix module symbol probing

This series is for fixing some bugs in Steve's ftrace/kprobes branch.


Which is based on my fetcharg improvement series.

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

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) <>

 \ /
  Last update: 2018-08-28 18:19    [W:0.139 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site