diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-09-06 13:15:12 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-10-04 21:53:56 +0200 |
| commit | 1fe625b5df3d28f504677f067ab0be5d4bde10f3 (patch) | |
| tree | 7b5941b24220128b3fe731018c78d33bbbf6dd4c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 899ff1dbc8842b4b6d1b8ade94a86a2336bbc86c (diff) | |
| download | linux-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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
