aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-05-18 15:06:55 -0400
committerArd Biesheuvel <[email protected]>2020-05-19 09:23:22 +0200
commitfd0528a24958b7e8d55669cf50749776308d4c5a (patch)
treeaad5868e4ab5fa6ba23105c60a938f8ff2d6a690 /tools/perf/scripts/python/export-to-postgresql.py
parentcb8c90a08c7f2f761919190093fca0611c1cece4 (diff)
efi/libstub: Buffer output of efi_puts
Use a buffer to convert the string to UTF-16. This will reduce the number of firmware calls required to print the string from one per character to one per string in most cases. Cast the input char to unsigned char before converting to efi_char16_t to avoid sign-extension in case there are any non-ASCII characters in the input. Signed-off-by: Arvind Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions