qemu-e2k/scripts
Wei Huang fc116efad0 kvm_stat: Add RESET support for perf event ioctl
While running kvm_stat using tracepoint on ARM64 hardware (e.g. "kvm_stat
-1 -t"), the initial values of some kvm_userspace_exit counters were found
to be very suspecious. For instance the tracing tool showed that S390_TSCH
was called many times on ARM64 machine, which apparently was wrong.

This patch adds RESET ioctl support for perf monitoring. Before calling
ioctl to enable a perf event, this patch resets the counter first. With
this patch, the init counter values become correct on ARM64 hardware.

Example:

==== before patch ====
kvm_userspace_exit(S390_SIEIC)      1426         0
kvm_userspace_exit(S390_TSCH)       339         0

==== after patch ====
kvm_userspace_exit(S390_SIEIC)         0         0
kvm_userspace_exit(S390_TSCH)         0         0

Signed-off-by: Wei Huang <wei@redhat.com>
2015-01-26 12:27:05 +01:00
..
kvm kvm_stat: Add RESET support for perf event ioctl 2015-01-26 12:27:05 +01:00
qemu-guest-agent
qmp
tracetool Tracing: Fix simpletrace.py error on tcg enabled binary traces 2014-11-18 14:05:58 +00:00
acpi_extract_preprocess.py
acpi_extract.py i386: Add an ACPI_EXTRACT_NAME_BUFFER16 directive. 2014-11-02 11:52:24 +02:00
analyse-9p-simpletrace.py
check-qerror.sh
checkpatch.pl checkpatch: Brace handling on multi-line condition 2015-01-13 11:47:56 +00:00
cleanup-trace-events.pl cleanup-trace-events.pl: Tighten search for trace event call 2014-09-26 09:34:38 +01:00
coverity-model.c
create_config
disas-objdump.pl
dump-guest-memory.py
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl get_maintainer.pl: Remove the --git-chief-penguins option 2014-12-10 11:46:43 +03:00
gtester-cat
hxtool
make_device_config.sh
make-release
ordereddict.py
qapi-commands.py
qapi-event.py
qapi-types.py scripts/qapi-types.py: Add dummy member to empty structs 2015-01-20 15:19:32 +00:00
qapi-visit.py qapi: add visit_start_union and visit_end_union 2014-09-26 13:14:10 -04:00
qapi.py qapi.py: avoid Python 2.5+ any() function 2014-08-28 13:42:25 +01:00
qemu-binfmt-conf.sh
qemu-gdb.py
refresh-pxe-roms.sh
signrom.py
simpletrace.py
switch-timer-api
texi2pod.pl
tracetool.py
update-acpi.sh
update-linux-headers.sh
vmstate-static-checker.py