mbox series

[0/2] tracing/probes: Fix probe event argument parser

Message ID 170602214309.215583.16731124846112910621.stgit@devnote2 (mailing list archive)
Headers show
Series tracing/probes: Fix probe event argument parser | expand

Message

Masami Hiramatsu (Google) Jan. 23, 2024, 3:02 p.m. UTC
These fix two bugs in the trace probe event argument parser, which I
found while I'm cleaning up the code.

One is just adding an error message to message log buffer (but it is
important to check the reason). Another is setting the size of argument
entry correctly with argument data updated by BTF.

Thank you,

---

Masami Hiramatsu (Google) (2):
      tracing/probes: Fix to show a parse error for bad type for $comm
      tracing/probes: Fix to set arg size and fmt after setting type from BTF


 kernel/trace/trace_probe.c |   32 ++++++++++++++++++--------------
 kernel/trace/trace_probe.h |    3 ++-
 2 files changed, 20 insertions(+), 15 deletions(-)

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