summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2022-11-24 20:32:20 +0100
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 14:33:59 +0100
commit9eb99b941ba78a0aad996a3c129ee2a19507d87e (patch)
tree39b10407f21528ebe4da658d11d637fda77045b0 /tools/perf/scripts/python/exported-sql-viewer.py
parent1fefd62fee50d4455ef5ebf65e22b282d773ed7d (diff)
downloadkernel-9eb99b941ba78a0aad996a3c129ee2a19507d87e.tar.gz
s390/con3270: add helper to get number of tty rows
There a quite a few places using 'tp->view.rows - 2'. Add a helper function for this. This will also be used when a function key help line will be added. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Tested-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions