Re: [PATCH RFC 1/3] perf/core: add logic to collect off-cpu sample

From: Peter Zijlstra
Date: Thu Jul 11 2024 - 17:50:13 EST


On Thu, Jul 11, 2024 at 05:46:17PM +0530, Ajay Kaher wrote:
> following logics has been added to collect the off-cpu sample:
>
> - 'task_pt_regs(current)' has been used to capture registers
> status off-cpu sample.
>
> - off-cpu time represent the time period for which the target
> process not occupying the cpu cycles. And calculate as:
>
> off-cpu time = swap-in time - swap-out time
>

I have absolutely no idea what you're trying to do :/ The above does not
constitute a comprehensible Changelog.