sched: Add wait, sleep and iowait accounting tracepoints
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 23 Jul 2009 18:13:26 +0000 (20:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 2 Sep 2009 07:12:18 +0000 (09:12 +0200)
commit768d0c27226e6587cad2fcf543f9711da3f3774e
tree0e299fb34584ff3c5c59f3ed95da70aab372dbc7
parent8f0dfc34e9b323a028c2ec41abb7e9de477b7a94
sched: Add wait, sleep and iowait accounting tracepoints

Add 3 schedstat tracepoints to help account for wait-time,
sleep-time and iowait-time.

They can also be used as a perf-counter source to profile tasks
on these clocks.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
LKML-Reference: <new-submission>
[ build fix for the !CONFIG_SCHEDSTATS case ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/trace/events/sched.h
kernel/sched_fair.c