linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing/probes: Fix probe event argument parser
@ 2024-01-23 15:02 Masami Hiramatsu (Google)
  2024-01-23 15:02 ` [PATCH 1/2] tracing/probes: Fix to show a parse error for bad type for $comm Masami Hiramatsu (Google)
  2024-01-23 15:03 ` [PATCH 2/2] tracing/probes: Fix to set arg size and fmt after setting type from BTF Masami Hiramatsu (Google)
  0 siblings, 2 replies; 3+ messages in thread
From: Masami Hiramatsu (Google) @ 2024-01-23 15:02 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: linux-trace-kernel, linux-kernel

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-23 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 15:02 [PATCH 0/2] tracing/probes: Fix probe event argument parser Masami Hiramatsu (Google)
2024-01-23 15:02 ` [PATCH 1/2] tracing/probes: Fix to show a parse error for bad type for $comm Masami Hiramatsu (Google)
2024-01-23 15:03 ` [PATCH 2/2] tracing/probes: Fix to set arg size and fmt after setting type from BTF Masami Hiramatsu (Google)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).