Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/s390_runtime_instr.2 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/man2/s390_runtime_instr.2 b/man2/s390_runtime_instr.2 index 2ec6e7d25..0685fde6c 100644 --- a/man2/s390_runtime_instr.2 +++ b/man2/s390_runtime_instr.2 @@ -27,13 +27,18 @@ s390_runtime_instr \- enable/disable s390 CPU run-time instrumentation .SH SYNOPSIS .nf -.B #include <asm/runtime_instr.h> +.BR "#include <asm/runtime_instr.h>" " /* Definition of " S390_* " constants */" +.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" +.B #include <unistd.h> .PP -.BI "int s390_runtime_instr(int " command ", int " signum ");" +.BI "int syscall(SYS_s390_runtime_instr, int " command ", int " signum ); .fi .PP .IR Note : -There is no glibc wrapper for this system call; see NOTES. +glibc provides no wrapper for +.BR s390_runtime_instr (2), +necessitating the use of +.BR syscall (2). .SH DESCRIPTION The .BR s390_runtime_instr () @@ -97,9 +102,6 @@ This Linux-specific system call is available only on the s390 architecture. The run-time instrumentation facility is available beginning with System z EC12. .SH NOTES -Glibc does not provide a wrapper for this system call; call it using -.BR syscall (2) -.PP The .I asm/runtime_instr.h header file is available -- 2.31.1