RISC-V: KVM: Record number of signal exits as a vCPU stat
authorJisheng Zhang <jszhang@kernel.org>
Sun, 2 Oct 2022 04:49:16 +0000 (10:19 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 2 Oct 2022 04:49:16 +0000 (10:19 +0530)
commit54ce3f7ff3395f12ad142d46b628606ab1e926ef
treeac64ae1d15a488f0e8771ceb11a748e458130ab1
parentf493cdc92d9b9e9a0db0a9049609457e43a56066
RISC-V: KVM: Record number of signal exits as a vCPU stat

Record a statistic indicating the number of times a vCPU has exited
due to a pending signal.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org
arch/riscv/include/asm/kvm_host.h
arch/riscv/kvm/vcpu.c