Re: [PATCH v6 4/6] tracing: Add a backward-compatibility check for synthetic event creation

2021-01-25 Thread Tom Zanussi
Hi Steve, On Fri, 2021-01-22 at 16:12 -0500, Steven Rostedt wrote: > On Thu, 21 Jan 2021 11:01:07 -0600 > Tom Zanussi wrote: > > --- a/kernel/trace/trace_events_synth.c > > +++ b/kernel/trace/trace_events_synth.c > > @@ -580,11 +580,18 @@ static void free_synth_field(struct > > synth_field

Re: [PATCH v6 4/6] tracing: Add a backward-compatibility check for synthetic event creation

2021-01-22 Thread Steven Rostedt
On Thu, 21 Jan 2021 11:01:07 -0600 Tom Zanussi wrote: > --- a/kernel/trace/trace_events_synth.c > +++ b/kernel/trace/trace_events_synth.c > @@ -580,11 +580,18 @@ static void free_synth_field(struct synth_field *field) > kfree(field); > } > > -static struct synth_field

[PATCH v6 4/6] tracing: Add a backward-compatibility check for synthetic event creation

2021-01-21 Thread Tom Zanussi
The synthetic event parsing rework now requires semicolons between synthetic event fields. That requirement breaks existing users who might already have used the old synthetic event command format, so this adds an inner loop that can parse more than one field, if present, between semicolons. For