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

2016-06-07 Thread Daniel Bristot de Oliveira
On 06/06/2016 06:03 PM, Peter Zijlstra wrote: > >> +/* > >> + * 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(ts

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

2016-06-06 Thread Peter Zijlstra
On Mon, Jun 06, 2016 at 07:52:00PM +, Mathieu Desnoyers wrote: > - On May 30, 2016, at 9:18 AM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > Adding Ingo and Peter in CC, considering that it touches to tracing and > the scheduler. > >> +/* > >> + * Tracepoint for showing pr

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

2016-06-06 Thread Mathieu Desnoyers
- On May 30, 2016, at 9:18 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On May 27, 2016, at 5:16 PM, Julien Desfossez jdesfos...@efficios.com > wrote: > >> This tracepoint allows to keep track of all priority changes made by all >> sites that can change this value. The

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

2016-05-30 Thread Mathieu Desnoyers
- On May 27, 2016, at 5:16 PM, Julien Desfossez jdesfos...@efficios.com wrote: > This tracepoint allows to keep track of all priority changes made by all > sites that can change this value. The impacted system calls are > sched_setscheduler, sched_setattr, sched_process_fork and set_user_nice