Home
last modified time | relevance | path

Searched refs:perf_cntr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c40 context->perf_cntr[0] = read_csr_perfcntr0(); in kvm_save_host_pmu()
41 context->perf_cntr[1] = read_csr_perfcntr1(); in kvm_save_host_pmu()
42 context->perf_cntr[2] = read_csr_perfcntr2(); in kvm_save_host_pmu()
43 context->perf_cntr[3] = read_csr_perfcntr3(); in kvm_save_host_pmu()
55 write_csr_perfcntr0(context->perf_cntr[0]); in kvm_restore_host_pmu()
56 write_csr_perfcntr1(context->perf_cntr[1]); in kvm_restore_host_pmu()
57 write_csr_perfcntr2(context->perf_cntr[2]); in kvm_restore_host_pmu()
58 write_csr_perfcntr3(context->perf_cntr[3]); in kvm_restore_host_pmu()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_host.h70 u64 perf_cntr[HOST_MAX_PMNUM]; member