x86/perfc: conditionalize HVM and shadow counters
authorJan Beulich <jbeulich@suse.com>
Tue, 21 Dec 2021 09:38:18 +0000 (10:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 Dec 2021 09:38:18 +0000 (10:38 +0100)
commitfa2f4c39c48f975ae1b87247fa2f71673e2838ca
treeef712bb51c4f85dcaf406dd84c2cd785b28ed3fc
parent8e3edefb880caeeaaf80123d5599139e8c2c9ecf
x86/perfc: conditionalize HVM and shadow counters

There's no point including them when the respective functionality isn't
enabled in the build. Note that this covers only larger groups; more
fine grained exclusion may want to be done later on.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/include/asm/perfc_defn.h