Re: [PATCH linux-next] perf report: remove warning on missing raw data for s390

From: Arnaldo Carvalho de Melo
Date: Mon Nov 27 2023 - 10:07:59 EST


Em Wed, Nov 22, 2023 at 06:34:14PM -0800, Namhyung Kim escreveu:
> Hello,
>
> On Wed, Nov 22, 2023 at 1:27 AM Thomas Richter <tmricht@xxxxxxxxxxxxx> wrote:
> >
> > Command
> > # ./perf report -i /tmp/111 -D > /dev/null
> > emits an error message when a sample for event CRYPTO_ALL in the
> > perf.data file does not contain any raw data. This is ok.
> > Do not trigger this warning when the sample in the perf.data files
> > does not contain any raw data at all.
> > Check for availability of raw data for all events and return if
> > none is available.
> >
> > Output before:
> > # ./perf report -i /tmp/111 -D > /dev/null
> > Invalid CRYPTO_ALL raw data encountered
> > Invalid CRYPTO_ALL raw data encountered
> > Invalid CRYPTO_ALL raw data encountered
> > #
> >
> > Output after:
> > # ./perf report -i /tmp/111 -D > /dev/null
> > #
> >
> > Fixes: b539deafbadb ("perf report: Add s390 raw data interpretation for PAI counters")
> > Signed-off-by: Thomas Richter <tmricht@xxxxxxxxxxxxx>
> > Acked-by: Sumanth Korikkar <sumanthk@xxxxxxxxxxxxx>
>
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks, applied to perf-tools-next.

- Arnaldo