x86.c (8a009d5bca0af7385880123d12081713f7066904) x86.c (1075d41efd598d3fd4d52a1e1116b20979975135)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Kernel-based Virtual Machine driver for Linux
4 *
5 * derived from drivers/kvm/kvm_main.c
6 *
7 * Copyright (C) 2006 Qumranet, Inc.
8 * Copyright (C) 2008 Qumranet, Inc.

--- 252 unchanged lines hidden (view full) ---

261 .id_offset = sizeof(struct kvm_stats_header),
262 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
263 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
264 sizeof(kvm_vm_stats_desc),
265};
266
267const struct _kvm_stats_desc kvm_vcpu_stats_desc[] = {
268 KVM_GENERIC_VCPU_STATS(),
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Kernel-based Virtual Machine driver for Linux
4 *
5 * derived from drivers/kvm/kvm_main.c
6 *
7 * Copyright (C) 2006 Qumranet, Inc.
8 * Copyright (C) 2008 Qumranet, Inc.

--- 252 unchanged lines hidden (view full) ---

261 .id_offset = sizeof(struct kvm_stats_header),
262 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
263 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
264 sizeof(kvm_vm_stats_desc),
265};
266
267const struct _kvm_stats_desc kvm_vcpu_stats_desc[] = {
268 KVM_GENERIC_VCPU_STATS(),
269 STATS_DESC_COUNTER(VCPU, pf_taken),
269 STATS_DESC_COUNTER(VCPU, pf_fixed),
270 STATS_DESC_COUNTER(VCPU, pf_fixed),
271 STATS_DESC_COUNTER(VCPU, pf_emulate),
272 STATS_DESC_COUNTER(VCPU, pf_spurious),
273 STATS_DESC_COUNTER(VCPU, pf_fast),
274 STATS_DESC_COUNTER(VCPU, pf_mmio_spte_created),
270 STATS_DESC_COUNTER(VCPU, pf_guest),
271 STATS_DESC_COUNTER(VCPU, tlb_flush),
272 STATS_DESC_COUNTER(VCPU, invlpg),
273 STATS_DESC_COUNTER(VCPU, exits),
274 STATS_DESC_COUNTER(VCPU, io_exits),
275 STATS_DESC_COUNTER(VCPU, mmio_exits),
276 STATS_DESC_COUNTER(VCPU, signal_exits),
277 STATS_DESC_COUNTER(VCPU, irq_window_exits),

--- 12796 unchanged lines hidden ---
275 STATS_DESC_COUNTER(VCPU, pf_guest),
276 STATS_DESC_COUNTER(VCPU, tlb_flush),
277 STATS_DESC_COUNTER(VCPU, invlpg),
278 STATS_DESC_COUNTER(VCPU, exits),
279 STATS_DESC_COUNTER(VCPU, io_exits),
280 STATS_DESC_COUNTER(VCPU, mmio_exits),
281 STATS_DESC_COUNTER(VCPU, signal_exits),
282 STATS_DESC_COUNTER(VCPU, irq_window_exits),

--- 12796 unchanged lines hidden ---