summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2013-05-10 02:59:49 +0000
committerneel <neel@FreeBSD.org>2013-05-10 02:59:49 +0000
commitc5e619b651d1ca95e1c461c940ab382e1b3a019e (patch)
treeabf6447962d8096447a14aa6d940742871e6d79d /sys/contrib
parent4cfb7cf5acee479be43a8536626786afcc254dbe (diff)
downloadFreeBSD-src-c5e619b651d1ca95e1c461c940ab382e1b3a019e.zip
FreeBSD-src-c5e619b651d1ca95e1c461c940ab382e1b3a019e.tar.gz
Support array-type of stats in bhyve.
An array-type stat in vmm.ko is defined as follows: VMM_STAT_ARRAY(IPIS_SENT, VM_MAXCPU, "ipis sent to vcpu"); It is incremented as follows: vmm_stat_array_incr(vm, vcpuid, IPIS_SENT, array_index, 1); And output of 'bhyvectl --get-stats' looks like: ipis sent to vcpu[0] 3114 ipis sent to vcpu[1] 0 Reviewed by: grehan Obtained from: NetApp
Diffstat (limited to 'sys/contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud