Thread (17 messages) 17 messages, 3 authors, 2025-07-14
STALE323d
Revisions (5)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]

[PATCH 0/2] tracing: Fix an event field filter issue

From: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Date: 2025-07-08 11:54:44
Also in: lkml

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) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help