Re: [PATCH] perf test: Fix test_arm_coresight.sh failures on Juno

From: Arnaldo Carvalho de Melo
Date: Fri Oct 14 2022 - 09:34:00 EST


Em Mon, Oct 10, 2022 at 10:21:22AM +0100, James Clark escreveu:
> On 10/10/2022 08:41, Leo Yan wrote:
> > On Thu, Oct 06, 2022 at 04:11:05PM +0100, James Clark wrote:
> >> Error:
> >> The perf.data data has no samples!
> >> 0

> > Thanks for confirmation. It's a bit weird that your Juno board doesn't
> > produce all zeros for timestamp packets.

> >> I think the issue is that ls is quite quick to run, so not much trace is
> >> generated for Perf. And it just depends on the scheduling which is
> >> slightly different on Juno. I don't think it's a bug. On N1SDP there are
> >> only 134 samples generated with i1000i, so it could probably end up with
> >> a random run generating 0 there too.

> > Agreed, changing to smaller interval makes sense for me.

> > Reviewed-by: Leo Yan <leo.yan@xxxxxxxxxx>

> Thanks for the review Leo

Thanks, applied.

- Arnaldo