Re: [PATCH 2/3] libperf tests: Fix verbose printing

Arnaldo Carvalho de Melo
2021-08-24T18:06:20Z

Em Mon, Aug 23, 2021 at 03:26:42PM -0500, Rob Herring escreveu:
> On Fri, Aug 20, 2021 at 06:39:07PM +0900, Shunsuke Nakamura wrote:
> > libperf's verbose printing checks the -v option every time the macro _T_ START
>
> __T_START
>
> > is called.
> >
> > Since there are currently four libperf tests registered, the macro _T_ START is
> > called four times, but verbose printing after the second time is not output.
> >
> > Resets the index of the element processed by getopt() and fix verbose printing
> > so that it prints in all tests.
> >
> > Signed-off-by: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
> > ---
> > tools/lib/perf/include/internal/tests.h | 2 ++
> > 1 file changed, 2 insertions(+)
>
> Acked-by: Rob Herring <robh@kernel.org>

Thanks, applied.

Waiting for the conclusion on the discussion for the other two patches.

- Arnaldo