linux/tools
Gavin Shan 726599c637 tools/kvm_stat: Fix kvm_exit filter name
commit 5fcf3a55a6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:36 -08:00
..
accounting
arch
bpf bpftool: Fix printing incorrect pointer in btf_dump_ptr 2020-01-23 08:22:49 +01:00
build
cgroup
debugging
firewire
firmware
gpio
hv
iio
include tools lib: Fix builds when glibc contains strlcpy() 2020-02-05 21:22:40 +00:00
io_uring
kvm/kvm_stat tools/kvm_stat: Fix kvm_exit filter name 2020-02-11 04:35:36 -08:00
laptop
leds
lib libbpf: Fix realloc usage in bpf_core_find_cands 2020-02-11 04:35:29 -08:00
memory-model
nfsd
objtool objtool: Silence build output 2020-02-11 04:35:10 -08:00
pci tools: PCI: Fix fd leakage 2020-01-17 19:48:54 +01:00
pcmcia
perf perf report: Fix no libunwind compiled warning break s390 issue 2020-02-05 21:22:53 +00:00
power cpupower: Revert library ABI changes from commit ae2917093f 2020-02-11 04:35:24 -08:00
scripts
spi
testing selftests: bpf: Ignore FIN packets for reuseport tests 2020-02-11 04:35:30 -08:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile