sched,tracing: Update trace_sched_pi_setprio()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 23 Mar 2017 14:56:12 +0000 (15:56 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Apr 2017 09:44:06 +0000 (11:44 +0200)
commitb91473ff6e979c0028f02f90e40c844959c736d8
treedde9f94c4918724ef104419d204fb8d6f44e0c65
parentacd58620e415aee4a43a808d7d2fd87259ee0001
sched,tracing: Update trace_sched_pi_setprio()

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*.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: juri.lelli@arm.com
Cc: bigeasy@linutronix.de
Cc: xlpang@redhat.com
Cc: mathieu.desnoyers@efficios.com
Cc: jdesfossez@efficios.com
Cc: bristot@redhat.com
Link: http://lkml.kernel.org/r/20170323150216.353599881@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/trace/events/sched.h
kernel/sched/core.c