linux/tools
Gavin Shan 5fcf3a55a6 tools/kvm_stat: Fix kvm_exit filter name
The filter name is fixed to "exit_reason" for some kvm_exit events, no
matter what architect we have. Actually, the filter name ("exit_reason")
is only applicable to x86, meaning it's broken on other architects
including aarch64.

This fixes the issue by providing various kvm_exit filter names, depending
on architect we're on. Afterwards, the variable filter name is picked and
applied through ioctl(fd, SET_FILTER).

Reported-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Gavin Shan <gshan@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-23 09:51:06 +01:00
..
accounting
arch KVM: VMX: Rename INTERRUPT_PENDING to INTERRUPT_WINDOW 2020-01-08 18:15:59 +01:00
bpf bpftool: Don't crash on missing jited insns or ksyms 2019-12-11 13:57:26 +01:00
build
cgroup
debugging
firewire
firmware
gpio
hv
iio
include tools headers kvm: Sync linux/kvm.h with the kernel sources 2019-12-11 10:08:35 -03:00
io_uring
kvm/kvm_stat tools/kvm_stat: Fix kvm_exit filter name 2020-01-23 09:51:06 +01:00
laptop
leds
lib libbpf: Fix build on read-only filesystems 2019-12-23 15:34:06 +01:00
memory-model
nfsd
objtool
pci
pcmcia
perf perf vendor events s390: Remove name from L1D_RO_EXCL_WRITES description 2019-12-16 13:40:26 -03:00
power
scripts
spi
testing KVM: VMX: Fix the spelling of CPU_BASED_USE_TSC_OFFSETTING 2020-01-08 18:15:59 +01:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile