Files
qemu/scripts
Janosch Frank 00842aaca5 scripts/kvm/kvm_stat: Cleanup and pre-init perf_event_attr
All initializations of the ctypes struct that don't need additional
information were moved to its init method. The unneeded
initializations for sample_type and sample_period were removed as they
do not affect the counters that are read.

This improves readability of the setup_event_attribute by halfing its
LOC.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-30-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-26 15:58:13 +01:00
..
2015-09-04 13:18:04 +02:00
2015-12-17 17:33:49 +01:00
2015-12-18 12:18:31 +00:00
2015-10-12 18:44:54 +02:00
2015-10-12 18:46:50 +02:00
2015-12-17 08:21:29 +01:00
2015-10-29 17:59:27 +00:00
2015-02-16 15:07:18 +00:00
2014-02-15 16:10:25 +04:00
2014-06-09 15:43:40 +02:00