perf_regs_arm64.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _ASM_ARM64_PERF_REGS_H
  3. #define _ASM_ARM64_PERF_REGS_H
  4. enum perf_event_arm_regs {
  5. PERF_REG_ARM64_X0,
  6. PERF_REG_ARM64_X1,
  7. PERF_REG_ARM64_X2,
  8. PERF_REG_ARM64_X3,
  9. PERF_REG_ARM64_X4,
  10. PERF_REG_ARM64_X5,
  11. PERF_REG_ARM64_X6,
  12. PERF_REG_ARM64_X7,
  13. PERF_REG_ARM64_X8,
  14. PERF_REG_ARM64_X9,
  15. PERF_REG_ARM64_X10,
  16. PERF_REG_ARM64_X11,
  17. PERF_REG_ARM64_X12,
  18. PERF_REG_ARM64_X13,
  19. PERF_REG_ARM64_X14,
  20. PERF_REG_ARM64_X15,
  21. PERF_REG_ARM64_X16,
  22. PERF_REG_ARM64_X17,
  23. PERF_REG_ARM64_X18,
  24. PERF_REG_ARM64_X19,
  25. PERF_REG_ARM64_X20,
  26. PERF_REG_ARM64_X21,
  27. PERF_REG_ARM64_X22,
  28. PERF_REG_ARM64_X23,
  29. PERF_REG_ARM64_X24,
  30. PERF_REG_ARM64_X25,
  31. PERF_REG_ARM64_X26,
  32. PERF_REG_ARM64_X27,
  33. PERF_REG_ARM64_X28,
  34. PERF_REG_ARM64_X29,
  35. PERF_REG_ARM64_LR,
  36. PERF_REG_ARM64_SP,
  37. PERF_REG_ARM64_PC,
  38. PERF_REG_ARM64_MAX,
  39. /* Extended/pseudo registers */
  40. PERF_REG_ARM64_VG = 46, /* SVE Vector Granule */
  41. PERF_REG_ARM64_EXTENDED_MAX
  42. };
  43. #define PERF_REG_EXTENDED_MASK (1ULL << PERF_REG_ARM64_VG)
  44. #endif /* _ASM_ARM64_PERF_REGS_H */