s390_runtime_instr.2: Various reworking of Heiko Carstens's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-16 12:30:00 +02:00
parent fee6e6795e
commit 34451e6ee4
1 changed files with 11 additions and 7 deletions

View File

@ -51,8 +51,10 @@ argument specifies the number of a real-time signal.
This argument was used to specify a signal number that should be delivered
to the thread if the run-time instrumentation buffer was full or if
the run-time-instrumentation-halted interrupt had occurred.
It has no effect beginning with Linux 4.4, since support for signalling
was never used and kernel support was removed.
This feature was never used,
and in Linux 4.4 support for this feature was removed;
.\" commit b38feccd663b55ab07116208b68e1ffc7c3c7e78
thus, in current kernels, this argument is ignored.
.SH RETURN VALUE
On success,
.BR s390_runtime_instr ()
@ -102,12 +104,14 @@ header file is available
.\" commit df2f815a7df7edb5335a3bdeee6a8f9f6f9c35c4
since Linux 4.16.
.PP
Support for signalling was removed with Linux 4.4.
With Linux 4.4 also the check whether
Starting with Linux 4.4,
support for signalling was removed, as was the check whether
.IR signum
is a valid real-time signal was removed.
For backwards compatibility with old kernels it is recommended to pass
a valid real-time signal number and install a handler for it.
is a valid real-time signal.
For backwards compatibility with older kernels, it is recommended to pass
a valid real-time signal number in
.I signum
and install a handler for that signal.
.SH SEE ALSO
.BR syscall (2),
.BR signal (7)