[PATCH v3 0/4] tracing/probes: Fix bugs in process_fetch_insn

Masami Hiramatsu (Google) posted 4 patches 2 years, 7 months ago
There is a newer version of this series
kernel/trace/trace.h              |    2 ++
kernel/trace/trace_probe.c        |    2 +-
kernel/trace/trace_probe_kernel.h |   29 ++++-------------------------
kernel/trace/trace_probe_tmpl.h   |   10 +++++-----
kernel/trace/trace_uprobe.c       |    3 ++-
5 files changed, 14 insertions(+), 32 deletions(-)
[PATCH v3 0/4] tracing/probes: Fix bugs in process_fetch_insn
Posted by Masami Hiramatsu (Google) 2 years, 7 months ago
Hi,

Here are the 3rd version of fix bugs in process_fetch_insn_*().
The previous version is here;

https://lore.kernel.org/all/168873724526.2687993.15242662075324919195.stgit@mhiramat.roam.corp.google.com/

[3/4] is updated to move FAULT_STRING macro to trace_probe.h
and use it in trace_probe.c instead of "(fault)".

Thank you,

---

Masami Hiramatsu (Google) (4):
      tracing/probes: Fix to avoid double count of the string length on the array
      tracing/probes: Fix not to count error code to total length
      Revert "tracing: Add "(fault)" name injection to kernel probes"
      tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails


 kernel/trace/trace.h              |    2 ++
 kernel/trace/trace_probe.c        |    2 +-
 kernel/trace/trace_probe_kernel.h |   29 ++++-------------------------
 kernel/trace/trace_probe_tmpl.h   |   10 +++++-----
 kernel/trace/trace_uprobe.c       |    3 ++-
 5 files changed, 14 insertions(+), 32 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>