perf_event_open.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-10-14 12:54:42 +02:00
parent dc9ec146ab
commit 5d73bc3fe4
1 changed files with 13 additions and 15 deletions

View File

@ -789,7 +789,7 @@ the register values will return kernel register
state if the overflow happened while kernel state if the overflow happened while kernel
code is running. code is running.
If the CPU supports hardware sampling of If the CPU supports hardware sampling of
register state (i.e. PEBS on Intel x86) and register state (i.e.,, PEBS on Intel x86) and
.I precise_ip .I precise_ip
is set higher than zero then the register is set higher than zero then the register
values returned are those captured by values returned are those captured by
@ -982,7 +982,7 @@ better and allows more accurate reporting of which events
correspond to which instructions, but hardware is often limited correspond to which instructions, but hardware is often limited
with how small this can be. with how small this can be.
The values of this are the following: The possible values of this field are the following:
.RS .RS
.IP 0 3 .IP 0 3
.B SAMPLE_IP .B SAMPLE_IP
@ -996,13 +996,13 @@ requested to have 0 skid.
.IP 3 .IP 3
.B SAMPLE_IP .B SAMPLE_IP
must have 0 skid. must have 0 skid.
See also See also the description of
.BR PERF_RECORD_MISC_EXACT_IP . .BR PERF_RECORD_MISC_EXACT_IP .
.RE .RE
.TP .TP
.IR "mmap_data" " (since Linux 2.6.36)" .IR "mmap_data" " (since Linux 2.6.36)"
.\" commit 3af9e859281bda7eb7c20b51879cf43aa788ac2e .\" commit 3af9e859281bda7eb7c20b51879cf43aa788ac2e
The counterpart of the Ths the counterpart of the
.I mmap .I mmap
field. field.
This enables generation of This enables generation of
@ -1047,10 +1047,10 @@ struct sample_id {
.IR "exclude_host" " (since Linux 3.2)" .IR "exclude_host" " (since Linux 3.2)"
.\" commit a240f76165e6255384d4bdb8139895fac7988799 .\" commit a240f76165e6255384d4bdb8139895fac7988799
When conducting measurements that include processes running When conducting measurements that include processes running
VM instances (i.e. have executed a VM instances (i.e., have executed a
.I KVM_RUN .B KVM_RUN
.BR ioctl (2) .BR ioctl (2)),
) only measure events happening inside a guest instance. only measure events happening inside a guest instance.
This is only meaningful outside the guests; this setting does This is only meaningful outside the guests; this setting does
not change counts gathered inside of a guest. not change counts gathered inside of a guest.
Currently, this functionality is x86 only. Currently, this functionality is x86 only.
@ -1058,10 +1058,10 @@ Currently, this functionality is x86 only.
.IR "exclude_guest" " (since Linux 3.2)" .IR "exclude_guest" " (since Linux 3.2)"
.\" commit a240f76165e6255384d4bdb8139895fac7988799 .\" commit a240f76165e6255384d4bdb8139895fac7988799
When conducting measurements that include processes running When conducting measurements that include processes running
VM instances (i.e. have executed a VM instances (i.e., have executed a
.I KVM_RUN .B KVM_RUN
.BR ioctl (2) .BR ioctl (2)),
) do not measure events happening inside guest instances. do not measure events happening inside guest instances.
This is only meaningful outside the guests; this setting does This is only meaningful outside the guests; this setting does
not change counts gathered inside of a guest. not change counts gathered inside of a guest.
Currently, this functionality is x86 only. Currently, this functionality is x86 only.
@ -1171,8 +1171,7 @@ is not allowed.
.TP .TP
.IR "bp_addr" " (since Linux 2.6.33)" .IR "bp_addr" " (since Linux 2.6.33)"
.\" commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e .\" commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e
.I bp_addr This is the address of the breakpoint.
address of the breakpoint.
For execution breakpoints this is the memory address of the instruction For execution breakpoints this is the memory address of the instruction
of interest; for read and write breakpoints it is the memory address of interest; for read and write breakpoints it is the memory address
of the memory location of interest. of the memory location of interest.
@ -1202,7 +1201,6 @@ For an execution breakpoint, set this to
.TP .TP
.IR "config2" " (since Linux 2.6.39)" .IR "config2" " (since Linux 2.6.39)"
.\" commit a7e3ed1e470116c9d12c2f778431a481a6be8ab6 .\" commit a7e3ed1e470116c9d12c2f778431a481a6be8ab6
.I config2 .I config2
is a further extension of the is a further extension of the
.I config1 .I config1