Re: [PATCH] perf help: Use HAVE_LIBTRACEEVENT to filter out unsupported commands

From: Arnaldo Carvalho de Melo
Date: Mon Jan 02 2023 - 09:52:34 EST


Em Tue, Dec 27, 2022 at 11:34:46AM -0800, Namhyung Kim escreveu:
> Hello,
>
> On Mon, Dec 26, 2022 at 1:00 AM Yang Jihong <yangjihong1@xxxxxxxxxx> wrote:
> >
> > Commands such as kmem, kwork, lock, sched, trace and timechart depend on
> > libtraceevent, these commands need to be isolated using HAVE_LIBTRACEEVENT
> > macro when cmdlist generation.
> >
> > The output of the generate-cmdlist.sh script is as follows:
> >
> > # ./util/generate-cmdlist.sh
> > /* Automatically generated by ./util/generate-cmdlist.sh */
> > struct cmdname_help
> > {
> > char name[16];
> > char help[80];
> > };

Thanks, applied.

- Arnaldo