4 #ifndef REMOTE_UNWIND_LIBUNWIND 7 #include "../../util/unwind.h" 8 #include "../../util/debug.h" 15 return PERF_REG_ARM64_X0;
17 return PERF_REG_ARM64_X1;
19 return PERF_REG_ARM64_X2;
21 return PERF_REG_ARM64_X3;
23 return PERF_REG_ARM64_X4;
25 return PERF_REG_ARM64_X5;
27 return PERF_REG_ARM64_X6;
29 return PERF_REG_ARM64_X7;
31 return PERF_REG_ARM64_X8;
33 return PERF_REG_ARM64_X9;
35 return PERF_REG_ARM64_X10;
37 return PERF_REG_ARM64_X11;
39 return PERF_REG_ARM64_X12;
41 return PERF_REG_ARM64_X13;
43 return PERF_REG_ARM64_X14;
45 return PERF_REG_ARM64_X15;
47 return PERF_REG_ARM64_X16;
49 return PERF_REG_ARM64_X17;
51 return PERF_REG_ARM64_X18;
53 return PERF_REG_ARM64_X19;
55 return PERF_REG_ARM64_X20;
57 return PERF_REG_ARM64_X21;
59 return PERF_REG_ARM64_X22;
61 return PERF_REG_ARM64_X23;
63 return PERF_REG_ARM64_X24;
65 return PERF_REG_ARM64_X25;
67 return PERF_REG_ARM64_X26;
69 return PERF_REG_ARM64_X27;
71 return PERF_REG_ARM64_X28;
73 return PERF_REG_ARM64_X29;
75 return PERF_REG_ARM64_LR;
77 return PERF_REG_ARM64_SP;
79 return PERF_REG_ARM64_PC;
81 pr_err(
"unwind: invalid reg id %d\n", regnum);
int LIBUNWIND__ARCH_REG_ID(int regnum)