summaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_x86_model.h
diff options
context:
space:
mode:
authorAndi Kleen2008-09-29 22:23:33 +0200
committerRobert Richter2008-10-13 19:25:11 +0200
commit59512900baab03c5629f2ff5efad1d5d4e682ece (patch)
tree163b3e53191902400ac167a902f368d7d8b7b49e /arch/x86/oprofile/op_x86_model.h
parentoprofile: Implement Intel architectural perfmon support (diff)
downloadkernel-qcow2-linux-59512900baab03c5629f2ff5efad1d5d4e682ece.tar.gz
kernel-qcow2-linux-59512900baab03c5629f2ff5efad1d5d4e682ece.tar.xz
kernel-qcow2-linux-59512900baab03c5629f2ff5efad1d5d4e682ece.zip
oprofile: discover counters for op ppro too
Discover number of counters for all family 6 models even when not in arch perfmon mode. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile/op_x86_model.h')
-rw-r--r--arch/x86/oprofile/op_x86_model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h
index 0b601893a4df..596de7a5559d 100644
--- a/arch/x86/oprofile/op_x86_model.h
+++ b/arch/x86/oprofile/op_x86_model.h
@@ -45,7 +45,7 @@ struct op_x86_model_spec {
void (*shutdown)(struct op_msrs const * const msrs);
};
-extern struct op_x86_model_spec const op_ppro_spec;
+extern struct op_x86_model_spec op_ppro_spec;
extern struct op_x86_model_spec const op_p4_spec;
extern struct op_x86_model_spec const op_p4_ht2_spec;
extern struct op_x86_model_spec const op_amd_spec;