The HVM hypercall handler is missing incrementing the per hypercall
counters. Add that.
The counters for PV are handled wrong, as they are not using
perf_incra() with the number of the hypercall as index, but are
incrementing the first hypercall entry (set_trap_table) for each
hypercall. Fix that.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
ioreq_signal_mapcache_invalidate();
}
+ perfc_incra(hypercalls, eax);
+
return curr->hcall_preempted ? HVM_HCALL_preempted : HVM_HCALL_completed;
}
if ( curr->hcall_preempted )
regs->rip -= 2;
- perfc_incr(hypercalls);
+ perfc_incra(hypercalls, eax);
}
enum mc_disposition pv_do_multicall_call(struct mc_state *state)