Re: [PATCH v6 09/11] perf tools report: Add custom scripts to script menu

From: Andi Kleen
Date: Mon Mar 11 2019 - 14:34:57 EST


> Isn't it better to use 'scripts' for those scripts and leave 'script'
> for configuring the 'perf script' command like we have options for
> annotate, etc?

Yes that's fine.

That's just two character updates in the doc and in the strstarts below.
If there's nothing else can you please just do these changes when you apply?

Thanks.

> > +static int scripts_config(const char *var, const char *value, void *data)
> > +{
> > + struct script_config *c = data;
> > +
> > + if (!strstarts(var, "script."))
> > + return -1;