Re: [tip:sched/core] sched, tracing: Fix trace_sched_pi_setprio() for deboosting

From: Sebastian Andrzej Siewior
Date: Fri May 25 2018 - 08:00:21 EST


On 2018-05-25 02:47:20 [-0700], tip-bot for Sebastian Andrzej Siewior wrote:
> Commit-ID: 4ff648decf4712d39f184fc2df3163f43975575a
> Gitweb: https://git.kernel.org/tip/4ff648decf4712d39f184fc2df3163f43975575a
> Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> AuthorDate: Thu, 24 May 2018 15:26:48 +0200
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Fri, 25 May 2018 08:04:01 +0200
>
> sched, tracing: Fix trace_sched_pi_setprio() for deboosting
>
> Since the following commit:
>
> b91473ff6e97 ("sched,tracing: Update trace_sched_pi_setprio()")
>
> the sched_pi_setprio trace point shows the "newprio" during a deboost:
>
> |futex sched_pi_setprio: comm=futex_requeue_p pid"34 oldprio newprio=3D98
> |futex sched_switch: prev_comm=futex_requeue_p prev_pid"34 prev_prio=120

pid=2234 got turned into pid"34 the same for other fields.

Sebastian