diff options
author | Uwe Kleine-König <[email protected]> | 2020-12-18 11:42:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-28 16:09:29 +0100 |
commit | d20c219c7317843cec7f03eba15bfeae54f29654 (patch) | |
tree | 270faad5649dc628f233a805f3f155a25604bdd3 /scripts/bpf_helpers_doc.py | |
parent | 4ea3cd65e0d47c4d3fc0c86d2d93d97457dc86fb (diff) |
tty: new helper function tty_get_icount()
For a given struct tty_struct this yields the corresponding statistics
about sent and received characters (and some more) which is needed to
implement an LED trigger for tty devices.
The new function is then used to simplify tty_tiocgicount().
Reviewed-by: Pavel Machek <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions