Intel 64 and IA-32 Architectures Software Developers Manual Volume 3B, System Programming Guide Part 2

Table Of Contents
18-52 Vol. 3
DEBUGGING AND PERFORMANCE MONITORING
ware. Figure 18-16 shows the layout of IA32_PERF_GLOBAL_STATUS. A value of 1 in
bits 0, 1, 32 through 34 indicates a counter overflow condition has occurred in the
associated counter.
When a performance counter is configured for PEBS, overflow condition in the
counter generates a performance-monitoring interrupt signaling a PEBS event. On a
PEBS event, the processor stores data records into the buffer area (see Section
18.15.5), clears the counter overflow status., and sets the “OvfBuffer” bit in
IA32_PERF_GLOBAL_STATUS.
IA32_PERF_GLOBAL_OVF_CTL MSR allows software to clear overflow indicator(s) of
any general-purpose or fixed-function counters via a single WRMSR. Software should
clear overflow indications when
Setting up new values in the event select and/or UMASK field for counting or
sampling
Reloading counter values to continue sampling
Disabling event counting or sampling.
The layout of IA32_PERF_GLOBAL_OVF_CTL is shown in Figure 18-17.
Figure 18-16. Layout of IA32_PERF_GLOBAL_STATUS MSR
62
IA32_FIXED_CTR2 Overflow
IA32_FIXED_CTR1 Overflow
IA32_FIXED_CTR0 Overflow
IA32_PMC1 Overflow
2
1
0
IA32_PMC0 Overflow
3132333435
Reserved
63
CondChgd
OvfBuffer