Re: [PATCH] perf: arm-spe: Fix check error when synthesizing events

2020-08-20 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 24, 2020 at 04:32:18PM +0800, Leo Yan escreveu: > Hi Wei, > > On Fri, Jul 24, 2020 at 03:26:28PM +0800, Wei Li wrote: > > In arm_spe_read_record(), when we are processing an events packet, > > 'decoder->packet.index' is the length of payload, which has been > > transformed in payloadle

Re: [PATCH] perf: arm-spe: Fix check error when synthesizing events

2020-08-17 Thread liwei (GF)
Ping... On 2020/7/24 16:32, Leo Yan wrote: > Hi Wei, > > On Fri, Jul 24, 2020 at 03:26:28PM +0800, Wei Li wrote: >> In arm_spe_read_record(), when we are processing an events packet, >> 'decoder->packet.index' is the length of payload, which has been >> transformed in payloadlen(). So correct the

Re: [PATCH] perf: arm-spe: Fix check error when synthesizing events

2020-07-24 Thread Leo Yan
Hi Wei, On Fri, Jul 24, 2020 at 03:26:28PM +0800, Wei Li wrote: > In arm_spe_read_record(), when we are processing an events packet, > 'decoder->packet.index' is the length of payload, which has been > transformed in payloadlen(). So correct the check of 'idx'. > > Signed-off-by: Wei Li Good cat

[PATCH] perf: arm-spe: Fix check error when synthesizing events

2020-07-24 Thread Wei Li
In arm_spe_read_record(), when we are processing an events packet, 'decoder->packet.index' is the length of payload, which has been transformed in payloadlen(). So correct the check of 'idx'. Signed-off-by: Wei Li --- tools/perf/util/arm-spe-decoder/arm-spe-decoder.c | 6 +++--- 1 file changed,