]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/kvm/kvm_stat: Cleanup of TracepointProvider
authorJanosch Frank <frankja@linux.vnet.ibm.com>
Mon, 11 Jan 2016 15:17:49 +0000 (16:17 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Jan 2016 14:58:13 +0000 (15:58 +0100)
commite06715a3632e0b454dca32ffb9bfefe8fd106a7d
tree7342ab1645189fc411d5dbf1aa8aea46e0ada034
parenta90b87bf25d4d96a8c31a78eefe4633a0e9da3ad
scripts/kvm/kvm_stat: Cleanup of TracepointProvider

Variables with bad names like f and m were renamed to their full name,
so it is clearer which data they contain.

Unneeded variables were removed and the field generating code was
moved in an own function.

dict.iteritems() was removed as directly iterating over a dictionary
also yields the needed keys.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-20-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/kvm/kvm_stat