Re: [PATCH v3] perf auxtrace: Add auxtrace_synth_id_range_start() helper

From: Leo Yan
Date: Fri Oct 24 2025 - 10:39:36 EST


On Fri, Oct 24, 2025 at 04:56:25PM +0800, tanze wrote:
> To avoid hardcoding the offset value for synthetic event IDs
> in multiple auxtrace modules (arm-spe, cs-etm, intel-pt, etc.),
> and to improve code reusability, this patch unifies
> the handling of the ID offset via a dedicated helper function.
>
> Signed-off-by: tanze <tanze@xxxxxxxxxx>

I built perf successfully with this patch:

Tested-by: Leo Yan <leo.yan@xxxxxxx>