File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 158
158
#define LBR_INFO_MISPRED BIT_ULL(63)
159
159
#define LBR_INFO_IN_TX BIT_ULL(62)
160
160
#define LBR_INFO_ABORT BIT_ULL(61)
161
+ #define LBR_INFO_CYC_CNT_VALID BIT_ULL(60)
161
162
#define LBR_INFO_CYCLES 0xffff
163
+ #define LBR_INFO_BR_TYPE_OFFSET 56
164
+ #define LBR_INFO_BR_TYPE (0xfull << LBR_INFO_BR_TYPE_OFFSET)
165
+
166
+ #define MSR_ARCH_LBR_CTL 0x000014ce
167
+ #define ARCH_LBR_CTL_LBREN BIT(0)
168
+ #define ARCH_LBR_CTL_CPL_OFFSET 1
169
+ #define ARCH_LBR_CTL_CPL (0x3ull << ARCH_LBR_CTL_CPL_OFFSET)
170
+ #define ARCH_LBR_CTL_STACK_OFFSET 3
171
+ #define ARCH_LBR_CTL_STACK (0x1ull << ARCH_LBR_CTL_STACK_OFFSET)
172
+ #define ARCH_LBR_CTL_FILTER_OFFSET 16
173
+ #define ARCH_LBR_CTL_FILTER (0x7full << ARCH_LBR_CTL_FILTER_OFFSET)
174
+ #define MSR_ARCH_LBR_DEPTH 0x000014cf
175
+ #define MSR_ARCH_LBR_FROM_0 0x00001500
176
+ #define MSR_ARCH_LBR_TO_0 0x00001600
177
+ #define MSR_ARCH_LBR_INFO_0 0x00001200
162
178
163
179
#define MSR_IA32_PEBS_ENABLE 0x000003f1
164
180
#define MSR_PEBS_DATA_CFG 0x000003f2
You can’t perform that action at this time.
0 commit comments