[PATCH] sched: Fix preempt_schedule_common() triggering tracing recursion

2015-02-16 Thread Frederic Weisbecker
Since the function graph tracer needs to disable preemption, it might call preempt_schedule() after reenabling it if something triggered the need for rescheduling in between. Therefore we can't trace preempt_schedule() itself because we would face a function tracing recursion otherwise as the

[PATCH] sched: Fix preempt_schedule_common() triggering tracing recursion

2015-02-16 Thread Frederic Weisbecker
Since the function graph tracer needs to disable preemption, it might call preempt_schedule() after reenabling it if something triggered the need for rescheduling in between. Therefore we can't trace preempt_schedule() itself because we would face a function tracing recursion otherwise as the