mips.c (0193cc908b5ae8aff2e2d2997ca5d4ae26ed24d4) | mips.c (fcfe1baeddbf1c7c448b44c82586d0cbc8abc9f5) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * KVM/MIPS: MIPS specific KVM APIs 7 * 8 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. --- 24 unchanged lines hidden (view full) --- 33 34#define CREATE_TRACE_POINTS 35#include "trace.h" 36 37#ifndef VECTORSPACING 38#define VECTORSPACING 0x100 /* for EI/VI mode */ 39#endif 40 | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * KVM/MIPS: MIPS specific KVM APIs 7 * 8 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. --- 24 unchanged lines hidden (view full) --- 33 34#define CREATE_TRACE_POINTS 35#include "trace.h" 36 37#ifndef VECTORSPACING 38#define VECTORSPACING 0x100 /* for EI/VI mode */ 39#endif 40 |
41const struct _kvm_stats_desc kvm_vm_stats_desc[] = { 42 KVM_GENERIC_VM_STATS() 43}; 44static_assert(ARRAY_SIZE(kvm_vm_stats_desc) == 45 sizeof(struct kvm_vm_stat) / sizeof(u64)); 46 47const struct kvm_stats_header kvm_vm_stats_header = { 48 .name_size = KVM_STATS_NAME_SIZE, 49 .num_desc = ARRAY_SIZE(kvm_vm_stats_desc), 50 .id_offset = sizeof(struct kvm_stats_header), 51 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE, 52 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE + 53 sizeof(kvm_vm_stats_desc), 54}; 55 |
|
41struct kvm_stats_debugfs_item debugfs_entries[] = { 42 VCPU_STAT("wait", wait_exits), 43 VCPU_STAT("cache", cache_exits), 44 VCPU_STAT("signal", signal_exits), 45 VCPU_STAT("interrupt", int_exits), 46 VCPU_STAT("cop_unusable", cop_unusable_exits), 47 VCPU_STAT("tlbmod", tlbmod_exits), 48 VCPU_STAT("tlbmiss_ld", tlbmiss_ld_exits), --- 1590 unchanged lines hidden --- | 56struct kvm_stats_debugfs_item debugfs_entries[] = { 57 VCPU_STAT("wait", wait_exits), 58 VCPU_STAT("cache", cache_exits), 59 VCPU_STAT("signal", signal_exits), 60 VCPU_STAT("interrupt", int_exits), 61 VCPU_STAT("cop_unusable", cop_unusable_exits), 62 VCPU_STAT("tlbmod", tlbmod_exits), 63 VCPU_STAT("tlbmiss_ld", tlbmiss_ld_exits), --- 1590 unchanged lines hidden --- |