xemu/scripts/kvm
Janosch Frank dd0b6a4e10 scripts/kvm/kvm_stat: Encapsulate filters variable
The variable was only used in one class but still was defined
globally. Additionaly the detect_platform routine which prepares the
data that goes into the variable was called on each start of the
script, no matter if the class was needed.

To make the variable local to the TracepointProvider class, a new
function that calls detect_platform and returns the filters was
introduced.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-22-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-26 15:58:13 +01:00
..
kvm_flightrecorder kvm: add flightrecorder script 2012-04-12 19:01:41 -03:00
kvm_stat scripts/kvm/kvm_stat: Encapsulate filters variable 2016-01-26 15:58:13 +01:00
kvm_stat.texi kvm_stat: add kvm_stat.1 man page 2015-03-10 10:49:25 +01:00
vmxcap vmxcap: Update according to SDM of September 2014 2014-09-26 21:08:56 +04:00