[PATCH v3 05/18] perf test: cs-etm: Increase window size in disassembly test
Leo Yan
leo.yan at arm.com
Wed Nov 4 08:36:57 PST 2026
On Mon, Nov 02, 2026 at 12:15:19PM +0000, James Clark wrote:
> When we increase the default timestamp interval in a later commit, less
> trace will be recorded. At the moment the amount of trace overflows the
> 64K buffer, so the exit snapshot trace is what happened at the end of
> the process rather than the beginning. With the new default interval,
> the entire execution will be contained in one buffer and the first few
> samples are always various instruction and data faults. These go to the
> kernel so don't result in ranges that can be disassembled.
>
> Increase the window to 6 samples to ensure something with a branch can
> be disassembled even with the fault samples.
>
> Signed-off-by: James Clark <james.clark at linaro.org>
I don't mind to set even a bigger sample number (like 50). I did test
and 50 samples just add 0.5s run time.
Either is fine:
Reviewed-by: Leo Yan <leo.yan at arm.com>
More information about the linux-arm-kernel
mailing list