perf_event_open.2: Minor fixes to Vince Weaver's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-01-23 14:07:19 +01:00
parent 1e04395903
commit b3f39642ec
1 changed files with 12 additions and 12 deletions

View File

@ -706,7 +706,7 @@ Records reasons for transactional memory abort events
The
.I precise_ip
setting must be larger than 0 and a transactional memory abort
setting must be greater than 0 and a transactional memory abort
event must be measured or no values will be recorded.
Also note that some perf_event measurements, such as sampled
cycle counting, may cause extraneous aborts (by causing an
@ -2040,32 +2040,32 @@ The field is a bitwise combination of the following values:
.RS
.TP
.B PERF_TXN_ELISION
abort from an elision type transaction (Intel CPU specific)
Abort from an elision type transaction (Intel-CPU-specific).
.TP
.B PERF_TXN_TRANSACTION
abort from a generic transaction
Abort from a generic transaction.
.TP
.B PERF_TXN_SYNC
synchronous abort (related to the reported instruction)
Synchronous abort (related to the reported instruction).
.TP
.B PERF_TXN_ASYNC
asynchronous abort (not related to the reported instruction)
Asynchronous abort (not related to the reported instruction).
.TP
.B PERF_TXN_RETRY
retryable abort (retrying the transaction may have succeeded)
retryable abort (retrying the transaction may have succeeded).
.TP
.B PERF_TXN_CONFLICT
abort due to memory conflicts with other threads
Abort due to memory conflicts with other threads.
.TP
.B PERF_TXN_CAPACITY_WRITE
abort due to write capacity overflow
Abort due to write capacity overflow.
.TP
.B PERF_TXN_CAPACITY_READ
abort due to read capacity overflow
Abort due to read capacity overflow.
.RE
In addition a user-specified abort code can be obtained from
the high 32-bits of the field by shifting right by
.IP
In addition, a user-specified abort code can be obtained from
the high 32 bits of the field by shifting right by
.B PERF_TXN_ABORT_SHIFT
and masking with
.BR PERF_TXN_ABORT_MASK .