xref: /openbmc/linux/arch/s390/include/uapi/asm/kvm_perf.h (revision 2eb3ed33e55d003d721d4d1a5e72fe323c12b4c0)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * Definitions for perf-kvm on s390
4  *
5  * Copyright 2014 IBM Corp.
6  * Author(s): Alexander Yarygin <yarygin@linux.vnet.ibm.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License (version 2 only)
10  * as published by the Free Software Foundation.
11  */
12 
13 #ifndef __LINUX_KVM_PERF_S390_H
14 #define __LINUX_KVM_PERF_S390_H
15 
16 #include <asm/sie.h>
17 
18 #define DECODE_STR_LEN 40
19 
20 #define VCPU_ID "id"
21 
22 #define KVM_ENTRY_TRACE "kvm:kvm_s390_sie_enter"
23 #define KVM_EXIT_TRACE "kvm:kvm_s390_sie_exit"
24 #define KVM_EXIT_REASON "icptcode"
25 
26 #endif
27