]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: KVM: Add tracepoints for CPUCFG and CSR emulation exits
authorYulong Han <wheatfox17@icloud.com>
Mon, 21 Jul 2025 01:26:35 +0000 (09:26 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 21 Jul 2025 01:26:35 +0000 (09:26 +0800)
commit36d09b96d3e79518e2be31fc7960cc694702afb8
tree2d21f49c197bddb38e42db6332c8db20e6229d1d
parent46ecfb68ddd88118dcf623f21785d78f69337631
LoongArch: KVM: Add tracepoints for CPUCFG and CSR emulation exits

This patch adds tracepoints to track KVM exits caused by CPUCFG and
CSR emulation. Note that IOCSR emulation tracing is already covered
by the generic trace_kvm_iocsr().

Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Yulong Han <wheatfox17@icloud.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/exit.c
arch/loongarch/kvm/trace.h