Re: [PATCH v6] perf sched timehist: Add pre-migration wait time option

From: Namhyung Kim
Date: Wed Oct 16 2024 - 13:12:57 EST


On Fri, 04 Oct 2024 22:37:56 +0530, Madadi Vineeth Reddy wrote:

> pre-migration wait time is the time that a task unnecessarily spends
> on the runqueue of a CPU but doesn't get switched-in there. In terms
> of tracepoints, it is the time between sched:sched_wakeup and
> sched:sched_migrate_task.
>
> Let's say a task woke up on CPU2, then it got migrated to CPU4 and
> then it's switched-in to CPU4. So, here pre-migration wait time is
> time that it was waiting on runqueue of CPU2 after it is woken up.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung