xenoprof: drop unused struct xenoprof fields
authorJan Beulich <jbeulich@suse.com>
Mon, 4 May 2020 09:51:18 +0000 (11:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 May 2020 09:51:18 +0000 (11:51 +0200)
commite83719b53a9be1c69033b3ded8051d47e3dadab8
tree68e230abab79a01eb1ea56138f7b255bd9400005
parent7f6a6e8c0a400d1a073b083fe0b7d25ef74b14e0
xenoprof: drop unused struct xenoprof fields

Both is_primary and domain_ready are only ever written to. Drop both
fields and restrict structure visibility to just the one involved CU.
While doing so (and just for starters) make "is_compat" properly bool.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
xen/common/xenoprof.c
xen/include/xen/xenoprof.h