* [PATCH resend] scripts: teach extract-vmlinux about LZ4 and ZSTD
@ 2018-07-07 0:15 Adam Borowski
2018-07-08 2:04 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Adam Borowski @ 2018-07-07 0:15 UTC (permalink / raw)
To: Michal Marek, Masahiro Yamada, linux-kbuild, Paul Menzel,
Pavel Machek, linux-kernel, x86, Ingo Molnar
Cc: Adam Borowski
Note that the LZ4 signature is different than that of modern LZ4 as we
use the "legacy" format which suffers from some downsides like inability
to disable compression.
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
---
The first time this was sent I managed to screw up both the subject and
scissors line, so it's likely whatever filter you're using didn't notice
the patch inside a thread.
ZSTD compression for vmlinux is not yet in, but being able to unpack it
can't hurt. LZ4 is in for quite a while.
scripts/extract-vmlinux | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux
index 5061abcc2540..e6239f39abad 100755
--- a/scripts/extract-vmlinux
+++ b/scripts/extract-vmlinux
@@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz
try_decompress 'BZh' xy bunzip2
try_decompress '\135\0\0\0' xxx unlzma
try_decompress '\211\114\132' xy 'lzop -d'
+try_decompress '\002!L\030' xxx 'lz4 -d'
+try_decompress '(\265/\375' xxx unzstd
# Bail out:
echo "$me: Cannot find vmlinux." >&2
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH resend] scripts: teach extract-vmlinux about LZ4 and ZSTD
2018-07-07 0:15 [PATCH resend] scripts: teach extract-vmlinux about LZ4 and ZSTD Adam Borowski
@ 2018-07-08 2:04 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2018-07-08 2:04 UTC (permalink / raw)
To: Adam Borowski
Cc: Michal Marek, Linux Kbuild mailing list, Paul Menzel,
Pavel Machek, Linux Kernel Mailing List, X86 ML, Ingo Molnar
2018-07-07 9:15 GMT+09:00 Adam Borowski <kilobyte@angband.pl>:
> Note that the LZ4 signature is different than that of modern LZ4 as we
> use the "legacy" format which suffers from some downsides like inability
> to disable compression.
>
> Signed-off-by: Adam Borowski <kilobyte@angband.pl>
> ---
> The first time this was sent I managed to screw up both the subject and
> scissors line, so it's likely whatever filter you're using didn't notice
> the patch inside a thread.
Sorry for the delay.
Applied to linux-kbuild. Thanks!
> ZSTD compression for vmlinux is not yet in, but being able to unpack it
> can't hurt. LZ4 is in for quite a while.
>
>
> scripts/extract-vmlinux | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux
> index 5061abcc2540..e6239f39abad 100755
> --- a/scripts/extract-vmlinux
> +++ b/scripts/extract-vmlinux
> @@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz
> try_decompress 'BZh' xy bunzip2
> try_decompress '\135\0\0\0' xxx unlzma
> try_decompress '\211\114\132' xy 'lzop -d'
> +try_decompress '\002!L\030' xxx 'lz4 -d'
> +try_decompress '(\265/\375' xxx unzstd
>
> # Bail out:
> echo "$me: Cannot find vmlinux." >&2
> --
> 2.18.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-08 2:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-07 0:15 [PATCH resend] scripts: teach extract-vmlinux about LZ4 and ZSTD Adam Borowski
2018-07-08 2:04 ` Masahiro Yamada
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.