diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2018-03-21 03:52:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-23 16:34:06 +0100 |
commit | 4f794097797f551917b68797e39f25fcb17d5b3a (patch) | |
tree | 0e3744bc26a6170e36de43337d3d3ff1828839a3 /drivers/parport | |
parent | serial: mvebu-uart: fix tx lost characters (diff) | |
download | linux-4f794097797f551917b68797e39f25fcb17d5b3a.tar.xz linux-4f794097797f551917b68797e39f25fcb17d5b3a.zip |
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>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions