diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index d0a761e45..3bb4bcfaa 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -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