kvm_perf.h 608 B

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