Commit fb11420d authored by Ying Fang's avatar Ying Fang Committed by Yang Yingliang
Browse files

KVM: arm/arm64: use esr_ec as trace field of kvm_exit tracepoint



euleros inclusion
category: bugfix

-------------------------------------------------

The filter name 'exit_reason' is only applicable to x86, however kvm_stat use
this trace fileld to filter Guest trap info. It will fail to call
ioctl(fd, SET_FILTER, fileld_name) on a different architecture other than x86.

This patch makes arm64 use 'esr_ec' as the trace fileld of kvm_exit
tracepoint, so that kvm_stat will work.

Signed-off-by: default avatarYing Fang <fangying1@huawei.com>
Reviewed-by: default avatarHailiang Zhang <zhang.zhanghailiang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 6ab519b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment