mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: Minor tweaks to Song Liu's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7d8449ba19
commit
c87e72a27c
|
@ -343,8 +343,8 @@ contains the value for the core CPU PMU, which is usually 4.
|
|||
.TP
|
||||
.BR kprobe " and " uprobe " (since Linux 4.16)"
|
||||
These two dynamic PMUs create a kprobe/uprobe and attach it to the
|
||||
file descriptor generated by perf_event_open. The kprobe/uprobe
|
||||
will be destroyed on the destruction of the file descriptor.
|
||||
file descriptor generated by perf_event_open.
|
||||
The kprobe/uprobe will be destroyed on the destruction of the file descriptor.
|
||||
See fields
|
||||
.IR kprobe_func ", " uprobe_path ", " kprobe_addr ", and " probe_offset
|
||||
for more details.
|
||||
|
@ -650,20 +650,22 @@ set
|
|||
.IR retprobe
|
||||
(bit 0 of
|
||||
.IR config ,
|
||||
see /sys/bus/event_source/devices/[k,u]probe/format/retprobe)
|
||||
for kretprobe/uretprobe. See fields
|
||||
see
|
||||
.IR /sys/bus/event_source/devices/[k,u]probe/format/retprobe )
|
||||
for kretprobe/uretprobe.
|
||||
See fields
|
||||
.IR kprobe_func ", " uprobe_path ", " kprobe_addr ", and " probe_offset
|
||||
for more details.
|
||||
.RE
|
||||
.TP
|
||||
.IR kprobe_func ", " uprobe_path ", " kprobe_addr ", and " probe_offset
|
||||
.EE
|
||||
These fields describes the kprobe/uprobe for dynamic PMU
|
||||
These fields describe the kprobe/uprobe for dynamic PMUs
|
||||
.BR kprobe
|
||||
and
|
||||
.BR uprobe .
|
||||
For
|
||||
.BR kprobe ": "
|
||||
.BR kprobe :
|
||||
use
|
||||
.I kprobe_func
|
||||
and
|
||||
|
@ -672,8 +674,9 @@ or use
|
|||
.I kprobe_addr
|
||||
and leave
|
||||
.I kprobe_func
|
||||
as NULL. For
|
||||
.BR uprobe ": "
|
||||
as NULL.
|
||||
For
|
||||
.BR uprobe :
|
||||
use
|
||||
.I uprobe_path
|
||||
and
|
||||
|
|
Loading…
Reference in New Issue