]> git.karo-electronics.de Git - linux-beck.git/commit
perfcounters: add context switch counter
authorIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 11:28:33 +0000 (12:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 19:31:23 +0000 (20:31 +0100)
commit5d6a27d8a096868ae313f71f563b06074a7e34fe
tree0155a8bedea29a6e3eaaa827d1dd2934f68f695b
parent8cb391e8786c8072367f0aeb90551903fef074ba
perfcounters: add context switch counter

Impact: add new feature, new sw counter

Add a counter that counts the number of context-switches a task
is doing.

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