| 1 |
.TH "backfire" "4" "0.1" "" "Driver" |
| 2 |
# SPDX-License-Identifier: GPL-2.0-or-later |
| 3 |
.SH "NAME" |
| 4 |
.LP |
| 5 |
backfire \- send a signal from driver to user |
| 6 |
.SH "DESCRIPTION" |
| 7 |
.LP |
| 8 |
The \fBbackfire\fR driver reads a numerical string that is sent to the |
| 9 |
\fB/dev/backfire\fR device and sends the corresponding signal to the calling |
| 10 |
user program. Reading from \fB/dev/backfire\fR returns the time of the day |
| 11 |
when the most recent sent request was serviced or 0, if a sent request was |
| 12 |
not yet received. The time of the day is displayed in seconds since |
| 13 |
1970-01-01 00:00:00 UTC followed by the fraction of the second in |
| 14 |
microseconds separated by a comma. |
| 15 |
.SH "PURPOSE" |
| 16 |
.LP |
| 17 |
The \fBbackfire\fR driver is normally used in combination with the program |
| 18 |
\fBsendme\fR to benchmark the performance of the kernel's signal sending |
| 19 |
capabilities. |
| 20 |
.SH "EXAMPLES" |
| 21 |
.LP |
| 22 |
.nf |
| 23 |
head -1 /dev/backfire |
| 24 |
0,0 |
| 25 |
trap "echo Got signal 7" 7 |
| 26 |
echo 7 >/dev/backfire |
| 27 |
Got signal 7 |
| 28 |
head -1 /dev/backfire |
| 29 |
1234567890,123456 |
| 30 |
.fi |
| 31 |
.LP |
| 32 |
.SH "AUTHORS" |
| 33 |
.LP |
| 34 |
Carsten Emde <[email protected]> |
| 35 |
.SH "SEE ALSO" |
| 36 |
.LP |
| 37 |
sendme(8) |