[PATCH v3 07/18] perf python: Expose sample instruction length

Leo Yan leo.yan at arm.com
Wed Nov 4 08:46:07 PST 2026


On Mon, Nov 02, 2026 at 12:15:21PM +0000, James Clark wrote:
> Expose perf_sample::insn_len as a read-only insn_len attribute.
> 
> Trace decoders supply instruction lengths on synthesized samples to
> indicate whether an instruction was executed or not during a call or
> exception. Let scripts read this value directly.
> 
> Signed-off-by: James Clark <james.clark at linaro.org>

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



More information about the linux-arm-kernel mailing list