blob: 892e92e7e7fc8e507baf198947eef5f6326afdf0 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef PERF_COMPRESS_H
3#define PERF_COMPRESS_H
4
5#ifdef HAVE_ZLIB_SUPPORT
6int gzip_decompress_to_file(const char *input, int output_fd);
7bool gzip_is_compressed(const char *input);
8#endif
9
10#ifdef HAVE_LZMA_SUPPORT
11int lzma_decompress_to_file(const char *input, int output_fd);
12bool lzma_is_compressed(const char *input);
13#endif
14
15#endif /* PERF_COMPRESS_H */