Re: [PATCH v2 0/4] perf arm-spe: Track pid/tid for Arm SPE samples

From: Leo Yan
Date: Thu Nov 11 2021 - 02:27:31 EST


Hi Arnaldo,

On Tue, Nov 09, 2021 at 11:50:16AM +0000, German Gomez wrote:
> The following patchset is an iteration on RFC [1] where pid/tid info is
> assigned to the Arm SPE synthesized samples. Two methods of tracking
> pids are considered: hardware-based (using Arm SPE CONTEXT packets), and
> context-switch events (from perf) as fallback.
>
> - Patch #1 enables pid tracking using RECORD_SWITCH* events from perf.
> - Patch #2 updates perf-record documentation and arm-spe recording so
> that they are consistent.
> - Patch #3 saves the value of SPE CONTEXT packet to the arm_spe_record
> struct.
> - Patch #4 enables hardware-based pid tracking using SPE CONTEXT
> packets.

I have tested this patch set, it works well on Hisilicon D06 board,
please consider to pick up. Thanks!

Leo