Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 4 of 4) sorted by relevance

/tools/perf/util/
Dzstd.c58 void *src, size_t src_size, size_t max_record_size, in zstd_compress_stream_to_records() argument
62 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_compress_stream_to_records()
78 (long)src_size, ZSTD_getErrorName(ret)); in zstd_compress_stream_to_records()
79 memcpy(dst, src, src_size); in zstd_compress_stream_to_records()
80 return src_size; in zstd_compress_stream_to_records()
92 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size, in zstd_decompress_stream() argument
96 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_decompress_stream()
103 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream()
Dcompress.h33 void *src, size_t src_size, size_t max_record_size,
36 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size,
53 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records()
61 size_t src_size __maybe_unused, void *dst __maybe_unused, in zstd_decompress_stream()
Dsession.c42 size_t decomp_size, src_size; in perf_session__process_compressed_event() local
70 src_size = event->pack.header.size - sizeof(struct perf_record_compressed); in perf_session__process_compressed_event()
72 decomp_size = zstd_decompress_stream(&(session->zstd_data), src, src_size, in perf_session__process_compressed_event()
90 pr_debug("decomp (B): %zd to %zd\n", src_size, decomp_size); in perf_session__process_compressed_event()
/tools/perf/
Dbuiltin-record.c176 void *src, size_t src_size);
1083 void *src, size_t src_size) in zstd_compress() argument
1088 compressed = zstd_compress_stream_to_records(&session->zstd_data, dst, dst_size, src, src_size, in zstd_compress()
1091 session->bytes_transferred += src_size; in zstd_compress()