diff options
author | Nick Terrell <[email protected]> | 2020-07-30 12:08:35 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-07-31 11:49:08 +0200 |
commit | 4963bb2b89884bbdb7e33e6a09c159551e9627aa (patch) | |
tree | 503649537075d61fddbfec3f73736d57e5c33a2e /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 6d25a633ea68a103c7293d16eb69a7d4689075ad (diff) |
lib: Add zstd support to decompress
- Add unzstd() and the zstd decompress interface.
- Add zstd support to decompress_method().
The decompress_method() and unzstd() functions are used to decompress
the initramfs and the initrd. The __decompress() function is used in
the preboot environment to decompress a zstd compressed kernel.
The zstd decompression function allows the input and output buffers to
overlap because that is used by x86 kernel decompression.
Signed-off-by: Nick Terrell <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions