From 1382241fe880d48e109f2056cec052bb3919a9d1 Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Tue, 14 Dec 2021 09:50:07 +0100 Subject: [PATCH] perfc: drop calls_to_multicall performance counter 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 Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich --- xen/common/multicall.c | 1 - xen/include/xen/perfc_defn.h | 1 - 2 files changed, 2 deletions(-) diff --git a/xen/common/multicall.c b/xen/common/multicall.c index 5a199ebf8f..794638392b 100644 --- a/xen/common/multicall.c +++ b/xen/common/multicall.c @@ -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; diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h index 13486d3ed9..672b51c456 100644 --- a/xen/include/xen/perfc_defn.h +++ b/xen/include/xen/perfc_defn.h @@ -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") -- 2.30.2