aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2022-11-28 19:55:57 +0100
committerHeiko Carstens <[email protected]>2023-01-09 14:33:59 +0100
commit1fefd62fee50d4455ef5ebf65e22b282d773ed7d (patch)
tree4b30780dffb0ef87298e76110bdd4522a7e0105a /tools/perf/scripts/python
parentcbb36313bdb696cfe0874406327b24b403c9e8e0 (diff)
s390/tty3270: split up tty3270_convert_line()
To make the code easier to read, split up tty3270_convertline() into several subfunctions: - tty3270_resize_line() to realloc the line if it doesn't have enough space left - tty3270_required_length() to calculate how much space we need - tty3270_add_attributes() to add the color and highlight attributes - tty3270_add_reset_attributes() to reset the attributes at the end of the line Signed-off-by: Sven Schnelle <[email protected]> Acked-by: Heiko Carstens <[email protected]> Tested-by: Niklas Schnelle <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions