aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-10-11 10:20:12 -0400
committerArd Biesheuvel <[email protected]>2020-10-26 08:06:36 +0100
commit688eb28211abdf82a3f51e8997f1c8137947227d (patch)
tree23baec172b555cb0efd66668a796440358999715 /tools/perf/scripts/python/intel-pt-events.py
parentbc13809f1c47245cd584f4ad31ad06a5c5f40e54 (diff)
efi/x86: Only copy the compressed kernel image in efi_relocate_kernel()
The image_size argument to efi_relocate_kernel() is currently specified as init_size, but this is unnecessarily large. The compressed kernel is much smaller, in fact, its image only extends up to the start of _bss, since at this point, the .bss section is still uninitialized. Depending on compression level, this can reduce the amount of data copied by 4-5x. 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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions