]> git.baikalelectronics.ru Git - kernel.git/commit
tools/kvm_stat: move functions to corresponding classes
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Wed, 7 Jun 2017 19:08:33 +0000 (21:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Jun 2017 16:16:28 +0000 (18:16 +0200)
commit065e1f57958cf83c38fed6a4a9fb2508645516c3
tree122c11d1687a7924f5aed028b686e8091c663e4e
parentccc3f0f588b36fdb60b5dda01b6923d443bed0a5
tools/kvm_stat: move functions to corresponding classes

Quite a few of the functions are used only in a single class. Moving
functions accordingly to improve the overall structure.
Furthermore, introduce a base class for the providers, which might also
come handy for future extensions.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/kvm/kvm_stat/kvm_stat