perf_event_open.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-01-03 13:43:50 +13:00
parent 246414a67a
commit 7d182bb660
1 changed files with 9 additions and 9 deletions

View File

@ -140,7 +140,7 @@ It is unclear why this is useful.
.\" FIXME So, why is it useful?
.TP
.BR PERF_FLAG_FD_OUTPUT
This flag re-routes the output from an event to the group leader.
This flag reroutes the output from an event to the group leader.
.TP
.BR PERF_FLAG_PID_CGROUP " (Since Linux 2.6.39)."
This flag activates per-container system-wide monitoring.
@ -286,7 +286,7 @@ field to indicate which PMU to use.
The value to use can be found in the sysfs filesystem:
there is a subdirectory per PMU instance under
.IR /sys/bus/event_source/devices .
In each sub-directory there is a
In each subdirectory there is a
.I type
file whose content is an integer that can be used in the
.I type
@ -1337,7 +1337,7 @@ do {
.in
.TP
.I cap_user_time " (Since Linux 3.12)"
This bit indicates the hardware has a constant, non-stop
This bit indicates the hardware has a constant, nonstop
timestamp counter (TSC on x86).
.TP
.IR cap_user_time_zero " (Since Linux 3.12)"
@ -2031,7 +2031,7 @@ system calls.
To generate signals, sampling must be enabled
.RI ( sample_period
must have a non-zero value).
must have a nonzero value).
There are two ways to generate signals.
@ -2049,7 +2049,7 @@ The other way is by use of the
.B PERF_EVENT_IOC_REFRESH
ioctl.
This ioctl adds to a counter that decrements each time the event overflows.
When non-zero, a
When nonzero, a
.B POLL_IN
signal is sent on overflow, but
once the value reaches 0, a signal is sent of type
@ -2242,8 +2242,8 @@ performance counter registers is allowed via the rdpmc instruction.
This can be disabled by echoing 0 to the file.
.TP
.IR /sys/bus/event_source/devices/*/format/ " (Since Linux 3.4)"
This sub-directory contains information on the architecture-specific
sub-fields available for programming the various
This subdirectory contains information on the architecture-specific
subfields available for programming the various
.I config
fields in the perf_event_attr struct.
@ -2258,7 +2258,7 @@ which indicates that event is an attribute that occupies bits 1,6-10, and 44
of perf_event_attr::config1.
.TP
.IR /sys/bus/event_source/devices/*/events/ " (Since Linux 3.4)"
This sub-directory contains files with pre-defined events.
This subdirectory contains files with predefined events.
The contents are strings describing the event settings
expressed in terms of the fields found in the previously mentioned
.I ./format/
@ -2381,7 +2381,7 @@ There is a bug in the kernel code between
Linux 2.6.36 and Linux 3.0 that ignores the
"watermark" field and acts as if a wakeup_event
was chosen if the union has a
non-zero value in it.
nonzero value in it.
From Linux 2.6.31 to Linux 3.4, the
.B PERF_IOC_FLAG_GROUP