• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #if !defined(__PKVM_SMC_FILTER_HYPEVENTS_H_) || defined(HYP_EVENT_MULTI_READ)
3 #define __PKVM_SMC_FILTER_HYPEVENTS_H_
4 
5 #ifdef __KVM_NVHE_HYPERVISOR__
6 #include <trace.h>
7 #endif
8 
9 HYP_EVENT(filtered_smc,
10 	HE_PROTO(u64 smc_id),
11 	HE_STRUCT(
12 		he_field(u64, smc_id)
13 	),
14 	HE_ASSIGN(
15 		__entry->smc_id = smc_id;
16 	),
17 	HE_PRINTK("smc_id = 0x%08llx", __entry->smc_id)
18 );
19 #endif
20