summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-05-18 15:06:55 -0400
committerArd Biesheuvel <ardb@kernel.org>2020-05-19 09:23:22 +0200
commitfd0528a24958b7e8d55669cf50749776308d4c5a (patch)
treeaad5868e4ab5fa6ba23105c60a938f8ff2d6a690 /tools/perf/scripts/python/stackcollapse.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 <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200518190716.751506-4-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions