perfcounters: add task migrations counter
authorIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 11:34:15 +0000 (12:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 19:31:26 +0000 (20:31 +0100)
commit6c594c21fcb02c662f11c97be4d7d2b73060a205
treedbd56d57fbc4576e18002a5cc08b1f4327a2248f
parent5d6a27d8a096868ae313f71f563b06074a7e34fe
perfcounters: add task migrations counter

Impact: add new feature, new sw counter

Add a counter that counts the number of cross-CPU migrations a
task is suffering.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
include/linux/sched.h
kernel/perf_counter.c
kernel/sched.c