s390_runtime_instr.2: Use syscall(SYS_...); for system calls without a wrapper

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2021-05-15 20:20:25 +02:00 committed by Michael Kerrisk
parent f908665187
commit cca4e32eb3
1 changed files with 8 additions and 6 deletions

View File

@ -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