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

Masami Hiramatsu (Google) posted 2 patches 3 months ago
There is a newer version of this series
kernel/trace/trace.h        |    1 +
kernel/trace/trace_events.c |   60 +++++++++++++++++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 3 deletions(-)
[PATCH 0/2] tracing: Fix an event field filter issue
Posted by Masami Hiramatsu (Google) 3 months ago
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@kernel.org>