blob: d32b445b4cf6df0354a11eacd9c7c14aaacd677c [file] [log] [blame]
#ifndef __ARM64_KVM_HYPTRACE_H_
#define __ARM64_KVM_HYPTRACE_H_
#include <asm/kvm_hyp.h>
#include <linux/ring_buffer_ext.h>
/*
* Host donations to the hypervisor to store the struct hyp_buffer_page.
*/
struct hyp_buffer_pages_backing {
unsigned long start;
size_t size;
};
struct hyp_trace_pack {
struct hyp_buffer_pages_backing backing;
struct kvm_nvhe_clock_data trace_clock_data;
struct trace_buffer_pack trace_buffer_pack;
};
#endif