summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2026-09-06 13:15:12 +0200
committerArd Biesheuvel <ardb@kernel.org>2026-09-17 10:36:23 +0100
commit9bcc2af24b8671fc9ba3f59502f5469288a74934 (patch)
treece36de35f89819d1c46fdf4b4097372e383a6042 /tools/perf/scripts/python
parent3dc73845074fa32035e3e47fecf4c02b826296f0 (diff)
downloadlinux-next-9bcc2af24b8671fc9ba3f59502f5469288a74934.tar.gz
linux-next-9bcc2af24b8671fc9ba3f59502f5469288a74934.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/scripts/python')
0 files changed, 0 insertions, 0 deletions