mbox series

[0/6] kprobes: jump label: Cleanup with guard and __free

Message ID 173594528527.1055889.2175884987203674189.stgit@devnote2 (mailing list archive)
Headers show
Series kprobes: jump label: Cleanup with guard and __free | expand

Message

Masami Hiramatsu (Google) Jan. 3, 2025, 11:01 p.m. UTC
Hi,

Here is a series of patches to fix and cleanup probe events in ftrace with __free().

Thanks,

---

Masami Hiramatsu (Google) (6):
      tracing/kprobes: Fix to free objects when failed to copy a symbol
      Provide __free(argv) for argv_split() users
      tracing: Use __free() for argv in dynevent
      tracing: Use __free() in trace_probe for cleanup
      tracing: Use __free() for kprobe events to cleanup
      tracing/kprobes: Simplify __trace_kprobe_create() by removing gotos


 include/linux/string.h        |    2 +
 kernel/trace/trace_dynevent.c |   47 ++++++----------
 kernel/trace/trace_kprobe.c   |  123 +++++++++++++++++++----------------------
 kernel/trace/trace_probe.c    |   52 ++++++-----------
 4 files changed, 97 insertions(+), 127 deletions(-)

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