[PATCH] perf arm-spe: Fix incorrect sample timestamp in perf script

Leo Yan leo.yan at linaro.org
Sun Jun 27 18:49:53 PDT 2021


Hi Jihong,

On Sat, Jun 26, 2021 at 11:21:15AM +0800, Yang Jihong wrote:
> When use perf script to parse ARM SPE data, sample timestamp does not match
> the timestamp stored in the AUX buffer, arm_spe_prep_sample function set
> "samlpe->time = speq->timestamp", "speq->timestamp" is the timestamp of first
> packet in auxtrace buffer. As a result, the time of all samples in a auxtrace
> buffer uses the same timestamp.

Could you confirm if the patch set [1] can fix your issue?

Thanks,
Leo

[1] https://lore.kernel.org/patchwork/cover/1431624/



More information about the linux-arm-kernel mailing list