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

From: Arnaldo Carvalho de Melo
Date: Wed Mar 20 2024 - 11:44:39 EST


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.
>
> - Arnaldo