book3s.c (0193cc908b5ae8aff2e2d2997ca5d4ae26ed24d4) | book3s.c (fcfe1baeddbf1c7c448b44c82586d0cbc8abc9f5) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2009. SUSE Linux Products GmbH. All rights reserved. 4 * 5 * Authors: 6 * Alexander Graf <agraf@suse.de> 7 * Kevin Wolf <mail@kevin-wolf.de> 8 * --- 24 unchanged lines hidden (view full) --- 33#include <asm/page.h> 34#include <asm/xive.h> 35 36#include "book3s.h" 37#include "trace.h" 38 39/* #define EXIT_DEBUG */ 40 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2009. SUSE Linux Products GmbH. All rights reserved. 4 * 5 * Authors: 6 * Alexander Graf <agraf@suse.de> 7 * Kevin Wolf <mail@kevin-wolf.de> 8 * --- 24 unchanged lines hidden (view full) --- 33#include <asm/page.h> 34#include <asm/xive.h> 35 36#include "book3s.h" 37#include "trace.h" 38 39/* #define EXIT_DEBUG */ 40 |
41const struct _kvm_stats_desc kvm_vm_stats_desc[] = { 42 KVM_GENERIC_VM_STATS(), 43 STATS_DESC_ICOUNTER(VM, num_2M_pages), 44 STATS_DESC_ICOUNTER(VM, num_1G_pages) 45}; 46static_assert(ARRAY_SIZE(kvm_vm_stats_desc) == 47 sizeof(struct kvm_vm_stat) / sizeof(u64)); 48 49const struct kvm_stats_header kvm_vm_stats_header = { 50 .name_size = KVM_STATS_NAME_SIZE, 51 .num_desc = ARRAY_SIZE(kvm_vm_stats_desc), 52 .id_offset = sizeof(struct kvm_stats_header), 53 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE, 54 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE + 55 sizeof(kvm_vm_stats_desc), 56}; 57 |
|
41struct kvm_stats_debugfs_item debugfs_entries[] = { 42 VCPU_STAT("exits", sum_exits), 43 VCPU_STAT("mmio", mmio_exits), 44 VCPU_STAT("sig", signal_exits), 45 VCPU_STAT("sysc", syscall_exits), 46 VCPU_STAT("inst_emu", emulated_inst_exits), 47 VCPU_STAT("dec", dec_exits), 48 VCPU_STAT("ext_intr", ext_intr_exits), --- 1031 unchanged lines hidden --- | 58struct kvm_stats_debugfs_item debugfs_entries[] = { 59 VCPU_STAT("exits", sum_exits), 60 VCPU_STAT("mmio", mmio_exits), 61 VCPU_STAT("sig", signal_exits), 62 VCPU_STAT("sysc", syscall_exits), 63 VCPU_STAT("inst_emu", emulated_inst_exits), 64 VCPU_STAT("dec", dec_exits), 65 VCPU_STAT("ext_intr", ext_intr_exits), --- 1031 unchanged lines hidden --- |