perfc: drop calls_to_multicall performance counter
authorJuergen Gross <jgross@suse.com>
Tue, 14 Dec 2021 08:50:07 +0000 (09:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Dec 2021 08:50:07 +0000 (09:50 +0100)
The calls_to_multicall performance counter is basically redundant to
the multicall hypercall counter. The only difference is the counting
of continuation calls, which isn't really that interesting.

Drop the calls_to_multicall performance counter.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/multicall.c
xen/include/xen/perfc_defn.h

index 5a199ebf8f85715a9776abf14501f780f93b9c8e..794638392b40ed79f548a1b416d90c0d8c93501d 100644 (file)
@@ -113,7 +113,6 @@ do_multicall(
     if ( unlikely(disp == mc_preempt) && i < nr_calls )
         goto preempted;
 
-    perfc_incr(calls_to_multicall);
     perfc_add(calls_from_multicall, i);
     mcs->flags = 0;
     return rc;
index 13486d3ed9bc08081602b799582824d2c10083cc..672b51c456b9d67d904b4b3a286f29aac10f8eb1 100644 (file)
@@ -6,7 +6,6 @@
 
 PERFCOUNTER_ARRAY(hypercalls,           "hypercalls", NR_hypercalls)
 
-PERFCOUNTER(calls_to_multicall,         "calls to multicall")
 PERFCOUNTER(calls_from_multicall,       "calls from multicall")
 
 PERFCOUNTER(irqs,                   "#interrupts")