summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2026-09-06 13:15:12 +0200
committerArd Biesheuvel <ardb@kernel.org>2026-10-04 21:53:56 +0200
commit1fe625b5df3d28f504677f067ab0be5d4bde10f3 (patch)
tree7b5941b24220128b3fe731018c78d33bbbf6dd4c /tools/perf/python/stackcollapse.py
parent899ff1dbc8842b4b6d1b8ade94a86a2336bbc86c (diff)
downloadlinux-next-1fe625b5df3d28f504677f067ab0be5d4bde10f3.tar.gz
linux-next-1fe625b5df3d28f504677f067ab0be5d4bde10f3.zip
efi/libstub: Avoid efi_puts() for compile time constant strings
efi_puts() performs a UTF-8 to UTF-16 conversion on its input, as the EFI console's native character set is UTF-16. This is pointless for compile time constant strings, since we can simply define those as UTF-16 to begin with. This takes slightly more space, but removes any runtime handling of those strings, simplifying the code. Note that efi_puts() also performs LF to CR-LF conversion, so this needs to be taken into account as well. Reviewed-by: Vincent Mailhol <mailhol@kernel.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions