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

Message ID 168830922841.2278819.9165254236027770818.stgit@mhiramat.roam.corp.google.com
Headers
Series tracing/probes: Fix bugs in process_fetch_insn |

Message

Masami Hiramatsu (Google) July 2, 2023, 2:47 p.m. UTC
  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@kernel.org>