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

Leo Yan leo.yan at arm.com
Fri Oct 24 07:38:41 PDT 2025


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 at kylinos.cn>

I built perf successfully with this patch:

Tested-by: Leo Yan <leo.yan at arm.com>



More information about the linux-arm-kernel mailing list