diff options
| author | Sven Schnelle <[email protected]> | 2022-11-28 19:55:57 +0100 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2023-01-09 14:33:59 +0100 |
| commit | 1fefd62fee50d4455ef5ebf65e22b282d773ed7d (patch) | |
| tree | 4b30780dffb0ef87298e76110bdd4522a7e0105a /tools/perf/scripts/python/flamegraph.py | |
| parent | cbb36313bdb696cfe0874406327b24b403c9e8e0 (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions