[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <175197567999.977073.8989204607899013923.stgit@mhiramat.tok.corp.google.com>
Date: Tue, 8 Jul 2025 20:54:40 +0900
From: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: [PATCH 0/2] tracing: Fix an event field filter issue
Hi,
Here is a series to fix some issues in the tracing event filter.
The first patch removes the __attribute__ from the event format type
string, which can cause issues with parsing (detecting the string
type). The second patch optimizes memory allocation in
__trace_define_field() by only allocating field->type when it
needs to be sanitized.
Thank you,
---
Masami Hiramatsu (Google) (2):
tracing: Remove "__attribute__()" from the type field of event format
tracing: Allocate field->type only if it needs to be sanitized
kernel/trace/trace.h | 1 +
kernel/trace/trace_events.c | 60 +++++++++++++++++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 3 deletions(-)
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists