linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] tracing: probes: Fixes and enhancing error logs
@ 2025-02-26  6:18 Masami Hiramatsu (Google)
  2025-02-26  6:18 ` [PATCH 1/8] tracing: tprobe-events: Fix a memory leak when tprobe with $retval Masami Hiramatsu (Google)
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Masami Hiramatsu (Google) @ 2025-02-26  6:18 UTC (permalink / raw)
  To: Steven Rostedt, Shuah Khan
  Cc: Masami Hiramatsu, Mathieu Desnoyers, Hari Bathini, linux-kernel,
	linux-trace-kernel, linux-kselftest

The following series fixes some bugs and adding some error messages
which are not handled.
This also add some selftests which tests the new error messages.

Thank you,

---

Masami Hiramatsu (Google) (8):
      tracing: tprobe-events: Fix a memory leak when tprobe with $retval
      tracing: tprobe-events: Reject invalid tracepoint name
      tracing: fprobe-events: Log error for exceeding the number of entry args
      tracing: probe-events: Log errro for exceeding the number of arguments
      tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro
      selftests/ftrace: Expand the tprobe event test to check wrong format
      selftests/ftrace: Add new syntax error test
      selftests/ftrace: Add dynamic events argument limitation test case


 kernel/trace/trace_eprobe.c                        |    2 +
 kernel/trace/trace_fprobe.c                        |   25 +++++++++++-
 kernel/trace/trace_kprobe.c                        |    5 ++
 kernel/trace/trace_probe.h                         |    6 ++-
 kernel/trace/trace_uprobe.c                        |    9 +++-
 .../ftrace/test.d/dynevent/add_remove_tprobe.tc    |   14 +++++++
 .../ftrace/test.d/dynevent/dynevent_limitations.tc |   42 ++++++++++++++++++++
 .../ftrace/test.d/dynevent/fprobe_syntax_errors.tc |    1 
 8 files changed, 98 insertions(+), 6 deletions(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/dynevent_limitations.tc

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

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

end of thread, other threads:[~2025-03-03  2:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  6:18 [PATCH 0/8] tracing: probes: Fixes and enhancing error logs Masami Hiramatsu (Google)
2025-02-26  6:18 ` [PATCH 1/8] tracing: tprobe-events: Fix a memory leak when tprobe with $retval Masami Hiramatsu (Google)
2025-02-26 15:09   ` Steven Rostedt
2025-02-26  6:18 ` [PATCH 2/8] tracing: tprobe-events: Reject invalid tracepoint name Masami Hiramatsu (Google)
2025-02-26 15:10   ` Steven Rostedt
2025-02-26 15:50   ` Markus Elfring
2025-02-26  6:19 ` [PATCH 3/8] tracing: fprobe-events: Log error for exceeding the number of entry args Masami Hiramatsu (Google)
2025-02-26 15:22   ` Steven Rostedt
2025-02-26 22:10     ` Masami Hiramatsu
2025-02-26  6:19 ` [PATCH 4/8] tracing: probe-events: Log errro for exceeding the number of arguments Masami Hiramatsu (Google)
2025-02-26 15:29   ` Steven Rostedt
2025-02-26 16:13   ` Markus Elfring
2025-02-27  0:19     ` Masami Hiramatsu
2025-02-27 10:13       ` [4/8] " Markus Elfring
2025-03-03  2:17   ` [PATCH 4/8] " Masami Hiramatsu
2025-02-26  6:19 ` [PATCH 5/8] tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro Masami Hiramatsu (Google)
2025-02-26 15:32   ` Steven Rostedt
2025-02-26  6:19 ` [PATCH 6/8] selftests/ftrace: Expand the tprobe event test to check wrong format Masami Hiramatsu (Google)
2025-02-26  6:19 ` [PATCH 7/8] selftests/ftrace: Add new syntax error test Masami Hiramatsu (Google)
2025-02-26  6:19 ` [PATCH 8/8] selftests/ftrace: Add dynamic events argument limitation test case 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).