1 #include "../../perf.h"
2 #include "../../util/perf_regs.h"
4 const struct sample_reg sample_reg_masks
[] = {
5 SMPL_REG(AX
, PERF_REG_X86_AX
),
6 SMPL_REG(BX
, PERF_REG_X86_BX
),
7 SMPL_REG(CX
, PERF_REG_X86_CX
),
8 SMPL_REG(DX
, PERF_REG_X86_DX
),
9 SMPL_REG(SI
, PERF_REG_X86_SI
),
10 SMPL_REG(DI
, PERF_REG_X86_DI
),
11 SMPL_REG(BP
, PERF_REG_X86_BP
),
12 SMPL_REG(SP
, PERF_REG_X86_SP
),
13 SMPL_REG(IP
, PERF_REG_X86_IP
),
14 SMPL_REG(FLAGS
, PERF_REG_X86_FLAGS
),
15 SMPL_REG(CS
, PERF_REG_X86_CS
),
16 SMPL_REG(SS
, PERF_REG_X86_SS
),
17 #ifdef HAVE_ARCH_X86_64_SUPPORT
18 SMPL_REG(R8
, PERF_REG_X86_R8
),
19 SMPL_REG(R9
, PERF_REG_X86_R9
),
20 SMPL_REG(R10
, PERF_REG_X86_R10
),
21 SMPL_REG(R11
, PERF_REG_X86_R11
),
22 SMPL_REG(R12
, PERF_REG_X86_R12
),
23 SMPL_REG(R13
, PERF_REG_X86_R13
),
24 SMPL_REG(R14
, PERF_REG_X86_R14
),
25 SMPL_REG(R15
, PERF_REG_X86_R15
),