Re: [PATCH v2 1/2] tracing: Add helper functions to simplify event_command callback handling

From: Tom Zanussi
Date: Tue Nov 16 2021 - 16:59:04 EST


On Tue, 2021-11-16 at 16:41 -0500, Steven Rostedt wrote:
> On Fri, 12 Nov 2021 14:23:39 -0600
> Tom Zanussi <zanussi@xxxxxxxxxx> wrote:
>
> >
> > +int event_trigger_check(char *glob, char **trigger, char **param,
> > + bool *remove, bool require_param, bool
> > separate_trigger)
>
> All these functions are going to require having kerneldoc comments
> for
> them. I rather not have to try to figure out what these functions are
> for
> and just read the documentation.

Yeah, that make sense, will add documention for each one in the next
version.

Thanks,

Tom

>
> -- Steve
>
>
> > +{
> > + int ret = 0;
> > +
> > + *remove = (glob && glob[0] == '!') ? true : false;
> > +