]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - tools/perf/util/compress.h
Merge tag 'tty-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[mirror_ubuntu-eoan-kernel.git] / tools / perf / util / compress.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef PERF_COMPRESS_H
3 #define PERF_COMPRESS_H
4
5 #ifdef HAVE_ZLIB_SUPPORT
6 int gzip_decompress_to_file(const char *input, int output_fd);
7 bool gzip_is_compressed(const char *input);
8 #endif
9
10 #ifdef HAVE_LZMA_SUPPORT
11 int lzma_decompress_to_file(const char *input, int output_fd);
12 bool lzma_is_compressed(const char *input);
13 #endif
14
15 #endif /* PERF_COMPRESS_H */