diff options
| author | Samo Pogačnik <[email protected]> | 2021-04-27 13:40:51 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 18:29:12 +0200 |
| commit | bf3d6ab9bc1295fdf37cbc363ba9f7dfa14a84b8 (patch) | |
| tree | 852696c74aefee55c5dfabe1e3059049ea0b16ad /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 27dede097d2062252916c1c55ec0e04b027162b8 (diff) | |
ttyprintk: Add TTY port shutdown callback
By adding the TTY port shutdown callback, the final buffer flush has
been moved from tpk_close() to tpk_port_shutdown(). This enables buffer
flush upon close and hangup as well. The change also removes the
specific 'buf == NULL' handling in tpk_printk(), which became useless.
Signed-off-by: Samo Pogačnik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions