linux/include/trace/events
Peter Zijlstra 02f726949f sched, trace: Fix sched_switch() prev_state argument
For CONFIG_PREEMPT=y kernels the sched_switch(.prev_state) argument isn't
useful because we can get preempted with current->state != TASK_RUNNING
without actually getting removed from the runqueue.

Cure this by treating all preempted tasks as runnable from the tracer's
point of view.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cautiously-acked-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1275322715.27810.23323.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-06-01 09:27:17 +02:00
..
bkl.h
block.h
ext4.h drop unused dentry argument to ->fsync 2010-05-27 22:05:02 -04:00
irq.h
jbd2.h
kmem.h
kvm.h
lock.h
mce.h
module.h
napi.h
power.h
sched.h sched, trace: Fix sched_switch() prev_state argument 2010-06-01 09:27:17 +02:00
scsi.h
signal.h
skb.h
syscalls.h
timer.h
workqueue.h