|
@@ -18,13 +18,13 @@
|
|
#ifndef __ASM_ARM_KVM_PMU_H
|
|
#ifndef __ASM_ARM_KVM_PMU_H
|
|
#define __ASM_ARM_KVM_PMU_H
|
|
#define __ASM_ARM_KVM_PMU_H
|
|
|
|
|
|
-#ifdef CONFIG_KVM_ARM_PMU
|
|
|
|
-
|
|
|
|
#include <linux/perf_event.h>
|
|
#include <linux/perf_event.h>
|
|
#include <asm/perf_event.h>
|
|
#include <asm/perf_event.h>
|
|
|
|
|
|
#define ARMV8_PMU_CYCLE_IDX (ARMV8_PMU_MAX_COUNTERS - 1)
|
|
#define ARMV8_PMU_CYCLE_IDX (ARMV8_PMU_MAX_COUNTERS - 1)
|
|
|
|
|
|
|
|
+#ifdef CONFIG_KVM_ARM_PMU
|
|
|
|
+
|
|
struct kvm_pmc {
|
|
struct kvm_pmc {
|
|
u8 idx; /* index into the pmu->pmc array */
|
|
u8 idx; /* index into the pmu->pmc array */
|
|
struct perf_event *perf_event;
|
|
struct perf_event *perf_event;
|