summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/perf.c
blob: 52cfab253c655738a578b68ff41d011f7f267ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Based on the x86 implementation.
 *
 * Copyright (C) 2012 ARM Ltd.
 * Author: Marc Zyngier <marc.zyngier@arm.com>
 */

#include <linux/perf_event.h>
#include <linux/kvm_host.h>

#include <asm/kvm_emulate.h>

void kvm_perf_init(void)
{
	kvm_register_perf_callbacks(NULL);
}

void kvm_perf_teardown(void)
{
	kvm_unregister_perf_callbacks();
}