diff options
| author | Gavin Shan <[email protected]> | 2019-12-10 15:48:29 +1100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-01-23 09:51:06 +0100 |
| commit | 5fcf3a55a62afb0760ccb6f391d62f20bce4a42f (patch) | |
| tree | 9bbbe56779358a6aa5bdc6db988ffcd2453a7d3a /scripts/gdb/vmlinux-gdb.py | |
| parent | 56871d444bc4d7ea66708775e62e2e0926384dbc (diff) | |
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 <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions