Searched hist:"4 f794097797f551917b68797e39f25fcb17d5b3a" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/tty/serial/ |
H A D | serial_core.c | diff 4f794097797f551917b68797e39f25fcb17d5b3a Wed Mar 21 03:52:38 CET 2018 Jeremy Kerr <jk@ozlabs.org> serial: expose buf_overrun count through proc interface
The buf_overrun count is only every written, and not exposed to userspace anywhere. This means that dropped characters due to flip buffer overruns are never visible to userspace.
The /proc/tty/driver/serial file exports a bunch of metrics (including hardware overruns) already, so add the buf_overrun (as "bo:") to this file.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|