aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_model_ppro.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/oprofile/op_model_ppro.c')
-rw-r--r--arch/x86/oprofile/op_model_ppro.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/x86/oprofile/op_model_ppro.c b/arch/x86/oprofile/op_model_ppro.c
index f5a226823e94..0620d6d45f7d 100644
--- a/arch/x86/oprofile/op_model_ppro.c
+++ b/arch/x86/oprofile/op_model_ppro.c
@@ -201,14 +201,14 @@ static void ppro_shutdown(struct op_msrs const * const msrs)
201 201
202 202
203struct op_x86_model_spec op_ppro_spec = { 203struct op_x86_model_spec op_ppro_spec = {
204 .num_counters = 2, /* can be overriden */ 204 .num_counters = 2, /* can be overriden */
205 .num_controls = 2, /* dito */ 205 .num_controls = 2, /* dito */
206 .fill_in_addresses = &ppro_fill_in_addresses, 206 .fill_in_addresses = &ppro_fill_in_addresses,
207 .setup_ctrs = &ppro_setup_ctrs, 207 .setup_ctrs = &ppro_setup_ctrs,
208 .check_ctrs = &ppro_check_ctrs, 208 .check_ctrs = &ppro_check_ctrs,
209 .start = &ppro_start, 209 .start = &ppro_start,
210 .stop = &ppro_stop, 210 .stop = &ppro_stop,
211 .shutdown = &ppro_shutdown 211 .shutdown = &ppro_shutdown
212}; 212};
213 213
214/* 214/*
@@ -244,11 +244,11 @@ void arch_perfmon_setup_counters(void)
244 244
245struct op_x86_model_spec op_arch_perfmon_spec = { 245struct op_x86_model_spec op_arch_perfmon_spec = {
246 /* num_counters/num_controls filled in at runtime */ 246 /* num_counters/num_controls filled in at runtime */
247 .fill_in_addresses = &ppro_fill_in_addresses, 247 .fill_in_addresses = &ppro_fill_in_addresses,
248 /* user space does the cpuid check for available events */ 248 /* user space does the cpuid check for available events */
249 .setup_ctrs = &ppro_setup_ctrs, 249 .setup_ctrs = &ppro_setup_ctrs,
250 .check_ctrs = &ppro_check_ctrs, 250 .check_ctrs = &ppro_check_ctrs,
251 .start = &ppro_start, 251 .start = &ppro_start,
252 .stop = &ppro_stop, 252 .stop = &ppro_stop,
253 .shutdown = &ppro_shutdown 253 .shutdown = &ppro_shutdown
254}; 254};