1 #include "../../perf.h"
2 #include "../../util/perf_regs.h"
3 
4 const struct sample_reg sample_reg_masks[] = {
5 	SMPL_REG(r0, PERF_REG_POWERPC_R0),
6 	SMPL_REG(r1, PERF_REG_POWERPC_R1),
7 	SMPL_REG(r2, PERF_REG_POWERPC_R2),
8 	SMPL_REG(r3, PERF_REG_POWERPC_R3),
9 	SMPL_REG(r4, PERF_REG_POWERPC_R4),
10 	SMPL_REG(r5, PERF_REG_POWERPC_R5),
11 	SMPL_REG(r6, PERF_REG_POWERPC_R6),
12 	SMPL_REG(r7, PERF_REG_POWERPC_R7),
13 	SMPL_REG(r8, PERF_REG_POWERPC_R8),
14 	SMPL_REG(r9, PERF_REG_POWERPC_R9),
15 	SMPL_REG(r10, PERF_REG_POWERPC_R10),
16 	SMPL_REG(r11, PERF_REG_POWERPC_R11),
17 	SMPL_REG(r12, PERF_REG_POWERPC_R12),
18 	SMPL_REG(r13, PERF_REG_POWERPC_R13),
19 	SMPL_REG(r14, PERF_REG_POWERPC_R14),
20 	SMPL_REG(r15, PERF_REG_POWERPC_R15),
21 	SMPL_REG(r16, PERF_REG_POWERPC_R16),
22 	SMPL_REG(r17, PERF_REG_POWERPC_R17),
23 	SMPL_REG(r18, PERF_REG_POWERPC_R18),
24 	SMPL_REG(r19, PERF_REG_POWERPC_R19),
25 	SMPL_REG(r20, PERF_REG_POWERPC_R20),
26 	SMPL_REG(r21, PERF_REG_POWERPC_R21),
27 	SMPL_REG(r22, PERF_REG_POWERPC_R22),
28 	SMPL_REG(r23, PERF_REG_POWERPC_R23),
29 	SMPL_REG(r24, PERF_REG_POWERPC_R24),
30 	SMPL_REG(r25, PERF_REG_POWERPC_R25),
31 	SMPL_REG(r26, PERF_REG_POWERPC_R26),
32 	SMPL_REG(r27, PERF_REG_POWERPC_R27),
33 	SMPL_REG(r28, PERF_REG_POWERPC_R28),
34 	SMPL_REG(r29, PERF_REG_POWERPC_R29),
35 	SMPL_REG(r30, PERF_REG_POWERPC_R30),
36 	SMPL_REG(r31, PERF_REG_POWERPC_R31),
37 	SMPL_REG(nip, PERF_REG_POWERPC_NIP),
38 	SMPL_REG(msr, PERF_REG_POWERPC_MSR),
39 	SMPL_REG(orig_r3, PERF_REG_POWERPC_ORIG_R3),
40 	SMPL_REG(ctr, PERF_REG_POWERPC_CTR),
41 	SMPL_REG(link, PERF_REG_POWERPC_LINK),
42 	SMPL_REG(xer, PERF_REG_POWERPC_XER),
43 	SMPL_REG(ccr, PERF_REG_POWERPC_CCR),
44 	SMPL_REG(softe, PERF_REG_POWERPC_SOFTE),
45 	SMPL_REG(trap, PERF_REG_POWERPC_TRAP),
46 	SMPL_REG(dar, PERF_REG_POWERPC_DAR),
47 	SMPL_REG(dsisr, PERF_REG_POWERPC_DSISR),
48 	SMPL_REG_END
49 };
50