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

From: Masami Hiramatsu (Google)
Date: Thu Jul 24 2025 - 00:46:39 EST


Hi,

Here is the 4th version of series to fix the tracing event filter
because of __attribute__.

The previous version is here;
https://lore.kernel.org/all/175257695307.1655692.4466186614215884669.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/

This version adds the existance check of btf_type_tag attribute
which is the only attribute for the fields currently.

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 | 25 ++++++---
kernel/trace/trace.h | 4 +
kernel/trace/trace_events.c | 115 +++++++++++++++++++++++++++++++++++++------
3 files changed, 116 insertions(+), 28 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>