kvm_perf.h 671 B

123456789101112131415161718192021222324252627
  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. #ifndef __LINUX_KVM_PERF_S390_H
  13. #define __LINUX_KVM_PERF_S390_H
  14. #include <asm/sie.h>
  15. #define DECODE_STR_LEN 40
  16. #define VCPU_ID "id"
  17. #define KVM_ENTRY_TRACE "kvm:kvm_s390_sie_enter"
  18. #define KVM_EXIT_TRACE "kvm:kvm_s390_sie_exit"
  19. #define KVM_EXIT_REASON "icptcode"
  20. #endif