]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita526a540aeac0690ad26ebee2d5f643ef761ee3c
treeac64ae1d15a488f0e8771ceb11a748e458130ab1
parent9d055770f9231dbb534a269b57c54e76525eb21b
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