trace_hv.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) trace_hv.h (28c5bcf74fa07c25d5bd118d1271920f51ce2a98)
1/* SPDX-License-Identifier: GPL-2.0 */
2#if !defined(_TRACE_KVM_HV_H) || defined(TRACE_HEADER_MULTI_READ)
3#define _TRACE_KVM_HV_H
4
5#include <linux/tracepoint.h>
6#include "trace_book3s.h"
7#include <asm/hvcall.h>
8#include <asm/kvm_asm.h>
9
10#undef TRACE_SYSTEM
11#define TRACE_SYSTEM kvm_hv
1/* SPDX-License-Identifier: GPL-2.0 */
2#if !defined(_TRACE_KVM_HV_H) || defined(TRACE_HEADER_MULTI_READ)
3#define _TRACE_KVM_HV_H
4
5#include <linux/tracepoint.h>
6#include "trace_book3s.h"
7#include <asm/hvcall.h>
8#include <asm/kvm_asm.h>
9
10#undef TRACE_SYSTEM
11#define TRACE_SYSTEM kvm_hv
12#define TRACE_INCLUDE_PATH .
13#define TRACE_INCLUDE_FILE trace_hv
14
15#define kvm_trace_symbol_hcall \
16 {H_REMOVE, "H_REMOVE"}, \
17 {H_ENTER, "H_ENTER"}, \
18 {H_READ, "H_READ"}, \
19 {H_CLEAR_MOD, "H_CLEAR_MOD"}, \
20 {H_CLEAR_REF, "H_CLEAR_REF"}, \
21 {H_PROTECT, "H_PROTECT"}, \

--- 470 unchanged lines hidden (view full) ---

492
493 TP_printk("VCPU %d: exit=%d, ret=%d",
494 __entry->vcpu_id, __entry->exit, __entry->ret)
495);
496
497#endif /* _TRACE_KVM_HV_H */
498
499/* This part must be outside protection */
12
13#define kvm_trace_symbol_hcall \
14 {H_REMOVE, "H_REMOVE"}, \
15 {H_ENTER, "H_ENTER"}, \
16 {H_READ, "H_READ"}, \
17 {H_CLEAR_MOD, "H_CLEAR_MOD"}, \
18 {H_CLEAR_REF, "H_CLEAR_REF"}, \
19 {H_PROTECT, "H_PROTECT"}, \

--- 470 unchanged lines hidden (view full) ---

490
491 TP_printk("VCPU %d: exit=%d, ret=%d",
492 __entry->vcpu_id, __entry->exit, __entry->ret)
493);
494
495#endif /* _TRACE_KVM_HV_H */
496
497/* This part must be outside protection */
498
499#undef TRACE_INCLUDE_PATH
500#undef TRACE_INCLUDE_FILE
501
502#define TRACE_INCLUDE_PATH .
503#define TRACE_INCLUDE_FILE trace_hv
504
500#include <trace/define_trace.h>
505#include <trace/define_trace.h>