diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2016-02-12 07:27:24 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2016-02-12 07:27:24 +0000 |
commit | 411c83ccd691eec84686df54c5cc7ee3cdbeb265 (patch) | |
tree | 03b7658a0a050f361c040e69c7caca92eb3b1e78 /include/signal.h | |
parent | 70c1d5a32a1aac6fc6541fc4097cdc69b4dc4fc1 (diff) | |
download | src-411c83ccd691eec84686df54c5cc7ee3cdbeb265.tar.gz src-411c83ccd691eec84686df54c5cc7ee3cdbeb265.zip |
If full width writes to the performance monitoring counters are
supported, use full-width aliases MSRs for writes. This fixes the
"[pmc,X] negative increment" assertion on the context switch when
clipped counter value is sign-extended.
Add definitions for the MSR IA32_PERF_CAPABILITIES needed to detect
the feature.
PR: 207068
Submitted by: joss.upton@yahoo.com
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=295560
Diffstat (limited to 'include/signal.h')
0 files changed, 0 insertions, 0 deletions