[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <175376582586.1688759.2122686728240441891.stgit@mhiramat.tok.corp.google.com>
Date: Tue, 29 Jul 2025 14:10:26 +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 v5 0/1] tracing: Fix an event field filter issue
Hi,
Here is the 5th version of series to fix the tracing event filter
because of __attribute__.
The previous version is here;
https://lore.kernel.org/all/175333238644.2267214.1835493691667067597.stgit@mhiramat.tok.corp.google.com/
This version fixes some code according to Steve's comments.
Especially, to avoid strstr(), run sanitize_field_type() first. This
also, simplifies the error handling. If failed to allocate memory,
return immediately, but if there is any wrong string etc, it just
skips the field.
This removes the __attribute__ from the event format type string,
which can cause issues with parsing (detecting the string type).
Thank you,
---
Masami Hiramatsu (Google) (1):
tracing: Remove "__attribute__()" from the type field of event format
kernel/trace/trace.c | 28 ++++++---
kernel/trace/trace.h | 4 +
kernel/trace/trace_events.c | 128 ++++++++++++++++++++++++++++++++++++-------
3 files changed, 127 insertions(+), 33 deletions(-)
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists