From 6170a241ea42a094f351956998e4a8883f4c515d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 12 Apr 2018 10:23:41 +0200 Subject: [PATCH] perf_event_open.2: Minor tweak to Song Liu's kprobe/uprobe patch: fix kernel version Signed-off-by: Michael Kerrisk --- man2/perf_event_open.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 3bb4bcfaa..275824332 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -341,7 +341,10 @@ For instance, .I /sys/bus/event_source/devices/cpu/type contains the value for the core CPU PMU, which is usually 4. .TP -.BR kprobe " and " uprobe " (since Linux 4.16)" +.BR kprobe " and " uprobe " (since Linux 4.17)" +.\" commit 65074d43fc77bcae32776724b7fa2696923c78e4 +.\" commit e12f03d7031a977356e3d7b75a68c2185ff8d155 +.\" commit 33ea4b24277b06dbc55d7f5772a46f029600255e 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.