From 9c6ca43e91e61065a9e8cbbfbf8e239879e1fa2d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 10 May 2021 05:18:40 +1200 Subject: [PATCH] perfmonctl.2: This system call was removed in Linux 5.10 Signed-off-by: Michael Kerrisk --- man2/perfmonctl.2 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/man2/perfmonctl.2 b/man2/perfmonctl.2 index b376126a1..319712e6d 100644 --- a/man2/perfmonctl.2 +++ b/man2/perfmonctl.2 @@ -196,12 +196,18 @@ On error, \-1 is returned and is set to indicate the error. .SH VERSIONS .BR perfmonctl () -is available since Linux 2.4. +was added in Linux 2.4; +.\" commit ecf5b72d5f66af843f189dfe9ce31598c3e48ad7 +it was removed in Linux 5.10. .SH CONFORMING TO .BR perfmonctl () is Linux-specific and is available only on the IA-64 architecture. .SH NOTES -Glibc does not provide a wrapper for this system call; call it using +This system call was broken for many years, +and ultimately removed in Linux 5.10. +.PP +Glibc does not provide a wrapper for this system call; +on kernels where it exists, call it using .BR syscall (2). .SH SEE ALSO .BR gprof (1)