Re: [PATCH v2 05/14] perf cs-etm: Increase default timestamp generation period

From: Leo Yan

Date: Thu Aug 27 2026 - 10:27:36 EST


On Fri, Aug 21, 2026 at 10:49:03AM +0100, James Clark wrote:
> The original purpose of timestamps in per-CPU mode was to roughly emit
> samples in the order they occurred across multiple CPUs, rather than
> emit all the trace from CPU 1 followed by all from CPU 2 etc.
> Previously there was no way to change the interval from the minimum of 1
> cycle, but custom intervals are now supported by the driver.
>
> Drastically reduce the number of timestamps emitted by increasing the
> interval, which is more than enough to interleave sample generation.
> This reduces the size of the trace generated.
>
> Signed-off-by: James Clark <james.clark@xxxxxxxxxx>

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