summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2025-03-17 10:00:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-20 18:00:50 +0300
commite287d64605d6ab66884b6d473a04fc91d5dc16c3 (patch)
treedeb19a497a0d3e85ad47162452479f0e52b1dd9c /tools/perf/scripts/python/exported-sql-viewer.py
parentfdfa49a8c96500ef9e1fe1cd2e68c8fd71d8b53a (diff)
downloadlinux-e287d64605d6ab66884b6d473a04fc91d5dc16c3.tar.xz
tty: n_tty: clean up process_output_block()
* Use guard(mutex), which results in: - the function can return directly when "space == 0". - "i" can now be "unsigned" as it is no longer abused to hold a retval from tty->ops->write(). Note the compared-to "nr" is already "unsigned". * The end label is now dubbed "do_write" as that is what happens there. Unlike the uncertain "break_out" name. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250317070046.24386-8-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions