Re: [RFC PATCH 2/2] tracing: add sched_set_prio tracepoint

Peter Zijlstra
2016-06-06T21:04:00Z

On Mon, Jun 06, 2016 at 07:52:00PM +0000, Mathieu Desnoyers wrote:
> ----- On May 30, 2016, at 9:18 AM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote:

> Adding Ingo and Peter in CC, considering that it touches to tracing and
> the scheduler.

> >> +/*
> >> + * Tracepoint for showing priority inheritance modifying a tasks
> >> + * priority.
> >> + */
> >> +DEFINE_EVENT(sched_prio_template, sched_pi_setprio,
> >> + TP_PROTO(struct task_struct *tsk, int newprio),
> >> + TP_ARGS(tsk, newprio));
> >> +
> >> +/*
> >> + * Tracepoint for priority changes of a task.
> >> + */
> >> +DEFINE_EVENT(sched_prio_template, sched_set_prio,
> >> + TP_PROTO(struct task_struct *tsk, int newprio),
> >> + TP_ARGS(tsk, newprio));
> >> +

Nak on anything that cannot fundamentally deal with SCHED_DEADLINE.