perfcounters: generalize the counter scheduler
authorIngo Molnar <mingo@elte.hu>
Sun, 21 Dec 2008 13:43:25 +0000 (14:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 11:45:23 +0000 (12:45 +0100)
commit235c7fc7c500e4fd1700c4ad01b5612bcdc1b449
tree837db278456caa0eb4720afdc36adf47e7dd542f
parent8fe91e61cdc407c7556d3cd71cf20141a25bbcea
perfcounters: generalize the counter scheduler

Impact: clean up and refactor code

refactor the counter scheduler: separate out in/out functions and
introduce a counter-rotation function as well.

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