Re: [PATCH v1 05/15] perf session: introduce decompressor into trace reader object

From: Alexey Budankov
Date: Mon Oct 12 2020 - 12:50:19 EST



On 12.10.2020 19:05, Andi Kleen wrote:
> On Mon, Oct 12, 2020 at 11:57:00AM +0300, Alexey Budankov wrote:
>> diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
>> index abdb8518a81f..4fc9ccdf7970 100644
>> --- a/tools/perf/util/session.h
>> +++ b/tools/perf/util/session.h
>> @@ -42,6 +42,7 @@ struct reader {
>> u64 data_size;
>> u64 data_offset;
>> reader_cb_t process;
>> + struct zstd_data zstd_data;
>
> Just to make sure, there is a suitable definition of zstd_data in case
> the Zstd library not available?

That's right.

Alexei

>
> -Andi
>