Re: [PATCH v2 2/2] tracing: Allow execnames to be passed as args for synthetic events

From: Masami Hiramatsu
Date: Tue Jul 27 2021 - 18:54:29 EST


On Mon, 26 Jul 2021 09:28:18 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Sun, 25 Jul 2021 12:45:02 +0900
> Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> > And with this change, hist trigger can correctly detect a string type in
> > the operand in the expression and rejects it.
> >
> > Thank you,
> >
> > >From 5280d1efe4415a621cf69a1dc4861ab928b0ff1c Mon Sep 17 00:00:00 2001
> > From: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> > Date: Sun, 25 Jul 2021 12:34:00 +0900
> > Subject: [PATCH] tracing: Reject string operand in the histogram expression
> >
> > Since the string type can not be the target of the addition / subtraction
> > operation, it must be rejected. Without this fix, the string type silently
> > converted to digits.
>
> Masami, can you send this as a normal patch. My scripts do not work
> (nor do I plan on having them ever do so) with patches embedded in
> threads or non-patch emails.

OK, let me resend it.

Thanks,

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>