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

From: Masami Hiramatsu (Google)
Date: Mon Jul 10 2023 - 22:11:23 EST


Hi,

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

https://lore.kernel.org/all/168878450334.2721251.3030778817503575503.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

[4/4] is updated to simplify the code with set_data_loc().

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 | 30 ++++++++----------------------
kernel/trace/trace_probe_tmpl.h | 10 +++++-----
kernel/trace/trace_uprobe.c | 3 ++-
5 files changed, 18 insertions(+), 29 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>