x86, perfcounters: prepare for fixed-mode PMCs

Impact: refactor the x86 code for fixed-mode PMCs

Extend the data structures and rename the existing facilities
to allow for a 'generic' versus 'fixed' counter distinction.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar
2008-12-17 09:09:13 +01:00
parent 5c167b8585
commit eb2b861810
3 changed files with 38 additions and 27 deletions

View File

@ -14,6 +14,7 @@
#define _LINUX_PERF_COUNTER_H
#include <asm/atomic.h>
#include <asm/perf_counter.h>
#include <linux/list.h>
#include <linux/mutex.h>