Re: [PATCH v2 1/2] perf: Suggest inbuilt commands for unknown command

From: Ian Rogers
Date: Wed Mar 20 2024 - 13:08:20 EST


On Wed, Mar 20, 2024 at 8:44 AM Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
>
> On Wed, Mar 20, 2024 at 12:41:45PM -0300, Arnaldo Carvalho de Melo wrote:
> > ⬢[acme@toolbox perf-tools-next]$ perf raccord
> > perf: 'raccord' is not a perf-command. See 'perf --help'.
>
> This works with the second patch.
>
> - Arnaldo
>
> > ⬢[acme@toolbox perf-tools-next]$ perf ricord
> > perf: 'ricord' is not a perf-command. See 'perf --help'.
> >
> > Did you mean this?
> > record
> > ⬢[acme@toolbox perf-tools-next]$ perf ricord
> > perf: 'ricord' is not a perf-command. See 'perf --help'.
> >
> > Did you mean this?
> > record
> > ⬢[acme@toolbox perf-tools-next]$
> >
> > So I'll add that and go on from there.

Thanks, let me know if I need to send a v3 with the 2 uninitialized
variables fixed.

Thanks,
Ian