summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-06-15 10:48:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-24 18:08:32 +0300
commit694d8a487c8bc2a0b35b9da951b0635c6a256ea6 (patch)
tree2dedfea799d5eb36c328e758ce14738fa3864728 /tools/perf/scripts/python/export-to-sqlite.py
parentda823b2dc03749f0d1b2d051b37f222e5a3918d7 (diff)
downloadlinux-694d8a487c8bc2a0b35b9da951b0635c6a256ea6.tar.xz
vt: separate unicode handling into vc_translate_unicode
do_con_write is complicated enough. Extract unicode handling to a separate function. For do_con_write, 249 LOCs lowered to 183 lines. Use diff -w -b to see the difference is neligible -- mostly whitespace and use of 'return's instead of 'continue's. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200615074910.19267-12-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions