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

From: Masami Hiramatsu (Google)
Date: Sun Jul 02 2023 - 10:47:22 EST


Hi,

Here are some patches to fix bugs in process_fetch_insn_*().
First 2 fixes are already reviewed and updated the description.
I added 1 new patch which I found while fixing previous one.

Thank you,

---

Masami Hiramatsu (Google) (3):
tracing/probes: Fix to avoid double count of the string length on the array
tracing/probes: Fix to exit fetching if an error is detected
tracing/probes: Fix return value when "(fault)" is injected


kernel/trace/trace_probe_kernel.h | 17 +++++++----------
kernel/trace/trace_probe_tmpl.h | 6 ++++--
.../ftrace/test.d/kprobe/kprobe_args_user.tc | 2 +-
3 files changed, 12 insertions(+), 13 deletions(-)

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