Re: [PATCH -v2 7/9] sched,tracing: Update trace_sched_pi_setprio()

From: Peter Zijlstra
Date: Tue Sep 27 2016 - 03:44:53 EST


On Mon, Sep 26, 2016 at 01:04:30PM -0400, Steven Rostedt wrote:
> On Mon, 26 Sep 2016 14:32:20 +0200
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > Pass the PI donor task, instead of a numerical priority.
> >
> > Numerical priorities are not sufficient to describe state ever since
> > SCHED_DEADLINE.
> >
> > Annotate all sched tracepoints that are currently broken; fixing them
> > will bork userspace. *hate*.
>
> Perhaps display -1 for SCHED_DEADLINE tasks?

I think it already does that, but that's plenty useless.