aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/oprofile/op_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/oprofile/op_counter.h')
-rw-r--r--arch/x86/oprofile/op_counter.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/arch/x86/oprofile/op_counter.h b/arch/x86/oprofile/op_counter.h
index 2880b15c467..0b7b7b179cb 100644
--- a/arch/x86/oprofile/op_counter.h
+++ b/arch/x86/oprofile/op_counter.h
@@ -6,22 +6,23 @@
*
* @author John Levon
*/
-
+
#ifndef OP_COUNTER_H
#define OP_COUNTER_H
-
-#define OP_MAX_COUNTER 8
-
+
+#define OP_MAX_COUNTER 32
+
/* Per-perfctr configuration as set via
* oprofilefs.
*/
struct op_counter_config {
- unsigned long count;
- unsigned long enabled;
- unsigned long event;
- unsigned long kernel;
- unsigned long user;
- unsigned long unit_mask;
+ unsigned long count;
+ unsigned long enabled;
+ unsigned long event;
+ unsigned long kernel;
+ unsigned long user;
+ unsigned long unit_mask;
+ unsigned long extra;
};
extern struct op_counter_config counter_config[];