diff options
| author | Stephane Eranian <[email protected]> | 2020-11-26 11:09:22 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-12-03 09:00:26 +0000 |
| commit | fc17db8aa4c53cbd2d5469bb0521ea0f0a6dbb27 (patch) | |
| tree | 4b0e517db83ad158f76421592fe2aa66507b5ac0 /tools/perf/python/tracepoint.py | |
| parent | perf/x86/intel: Fix a warning on x86_pmu_stop() with large PEBS (diff) | |
| download | kernel-fc17db8aa4c53cbd2d5469bb0521ea0f0a6dbb27.tar.gz kernel-fc17db8aa4c53cbd2d5469bb0521ea0f0a6dbb27.zip | |
perf/x86/intel: Check PEBS status correctly
The kernel cannot disambiguate when 2+ PEBS counters overflow at the
same time. This is what the comment for this code suggests. However,
I see the comparison is done with the unfiltered p->status which is a
copy of IA32_PERF_GLOBAL_STATUS at the time of the sample. This
register contains more than the PEBS counter overflow bits. It also
includes many other bits which could also be set.
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/python/tracepoint.py')
0 files changed, 0 insertions, 0 deletions
