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.st...@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) <mhira...@kernel.org>

Reply via email to