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>
This commit is contained in:
Ingo Molnar 2008-12-14 12:28:33 +01:00
commit 5d6a27d8a0
2 changed files with 53 additions and 2 deletions