• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef __ARM64_KVM_HYPTRACE_H_
3 #define __ARM64_KVM_HYPTRACE_H_
4 #include <asm/kvm_hyp.h>
5 
6 #include <linux/ring_buffer.h>
7 #include <linux/trace_seq.h>
8 #include <linux/workqueue.h>
9 
10 struct ht_iterator {
11 	struct hyp_trace_buffer	*hyp_buffer;
12 	int			cpu;
13 	struct hyp_entry_hdr	*ent;
14 	unsigned long		lost_events;
15 	int			ent_cpu;
16 	size_t			ent_size;
17 	u64			ts;
18 	void			*spare;
19 	size_t			copy_leftover;
20 	struct trace_seq        seq;
21 	struct delayed_work     poll_work;
22 };
23 
24 struct hyp_trace_desc {
25 	struct trace_page_desc		page_desc;
26 
27 };
28 #endif
29