1 // SPDX-License-Identifier: GPL-2.0
2 #include "../../../util/perf_regs.h"
4 const struct sample_reg sample_reg_masks
[] = {
5 SMPL_REG(x0
, PERF_REG_ARM64_X0
),
6 SMPL_REG(x1
, PERF_REG_ARM64_X1
),
7 SMPL_REG(x2
, PERF_REG_ARM64_X2
),
8 SMPL_REG(x3
, PERF_REG_ARM64_X3
),
9 SMPL_REG(x4
, PERF_REG_ARM64_X4
),
10 SMPL_REG(x5
, PERF_REG_ARM64_X5
),
11 SMPL_REG(x6
, PERF_REG_ARM64_X6
),
12 SMPL_REG(x7
, PERF_REG_ARM64_X7
),
13 SMPL_REG(x8
, PERF_REG_ARM64_X8
),
14 SMPL_REG(x9
, PERF_REG_ARM64_X9
),
15 SMPL_REG(x10
, PERF_REG_ARM64_X10
),
16 SMPL_REG(x11
, PERF_REG_ARM64_X11
),
17 SMPL_REG(x12
, PERF_REG_ARM64_X12
),
18 SMPL_REG(x13
, PERF_REG_ARM64_X13
),
19 SMPL_REG(x14
, PERF_REG_ARM64_X14
),
20 SMPL_REG(x15
, PERF_REG_ARM64_X15
),
21 SMPL_REG(x16
, PERF_REG_ARM64_X16
),
22 SMPL_REG(x17
, PERF_REG_ARM64_X17
),
23 SMPL_REG(x18
, PERF_REG_ARM64_X18
),
24 SMPL_REG(x19
, PERF_REG_ARM64_X19
),
25 SMPL_REG(x20
, PERF_REG_ARM64_X20
),
26 SMPL_REG(x21
, PERF_REG_ARM64_X21
),
27 SMPL_REG(x22
, PERF_REG_ARM64_X22
),
28 SMPL_REG(x23
, PERF_REG_ARM64_X23
),
29 SMPL_REG(x24
, PERF_REG_ARM64_X24
),
30 SMPL_REG(x25
, PERF_REG_ARM64_X25
),
31 SMPL_REG(x26
, PERF_REG_ARM64_X26
),
32 SMPL_REG(x27
, PERF_REG_ARM64_X27
),
33 SMPL_REG(x28
, PERF_REG_ARM64_X28
),
34 SMPL_REG(x29
, PERF_REG_ARM64_X29
),
35 SMPL_REG(lr
, PERF_REG_ARM64_LR
),
36 SMPL_REG(sp
, PERF_REG_ARM64_SP
),
37 SMPL_REG(pc
, PERF_REG_ARM64_PC
),