oprofile: Implement performance counter multiplexing
[linux-2.6.git] / arch / x86 / oprofile / op_model_ppro.c
index 570d717..098cbca 100644 (file)
@@ -206,6 +206,8 @@ static void ppro_shutdown(struct op_msrs const * const msrs)
 struct op_x86_model_spec const op_ppro_spec = {
        .num_counters           = 2,
        .num_controls           = 2,
+       .num_virt_counters      = 2,
+       .num_virt_controls      = 2,
        .reserved               = MSR_PPRO_EVENTSEL_RESERVED,
        .fill_in_addresses      = &ppro_fill_in_addresses,
        .setup_ctrs             = &ppro_setup_ctrs,