Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4116142pxu; Mon, 12 Oct 2020 09:51:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw969SchHQLDT+DuaGz09FdRdTEysmjBYRXcpPCDLguE1zZg0akdB3irpqk4VKxXSJD9ZIQ X-Received: by 2002:a17:906:d978:: with SMTP id rp24mr4745144ejb.0.1602521515066; Mon, 12 Oct 2020 09:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602521515; cv=none; d=google.com; s=arc-20160816; b=PizoMnAToatXvSJVdqVEucMBAyFPF6zX1es2Bem7+mbrmYd+Ckl0kVvXaUKlKg+Qe2 utdpkK9xv1lj2k6Wa0IrKKbYB01uhmLjf7h3Vj7nRzqDDBlJzRMczU5tXCRGF49Mo5z0 GotJRbAMT2bkXHsFEAIve2sWM54P/4RB3LW/qZt7O4dLs5LfEX74AS8CBTgCOcOnjc2h j63IcCfcoRksZ4mN7aR4uadKxQ+2j5wyjsTBs3L89LTYEFKF+fOKoVi7mo8k+IBgw0vm wYLX9YA4KfDPgCRNCkJjseMYxbtZ3F4oMdi0nqILxfO+5uaDoBARA8y/FrinRTHsU66H LPRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=mRVqLgUz0vcCoTPtpD+aUINzJbww90QLmNnPc+SqA5M=; b=k/hMASMx7l/t6Gg+PINBVa/syxYoTVZ0c88fa62dJtIL1OVi/hShN98lQYB4Qo14cU 3ajyWx4+Qq4vPFtLCKguNGMTzhAvtsIAw7tchRkLv7oM55DBN+ykjBEopXNjSjt3wUEw vVwsJIh/q6wsQcQo5c1oM2kNomTxxOLiTVBJhQlVbCFpiPi2UrXHoRZvR4BOmwHNeapH OIZGj9D5alpt2ljmrmaLdoyUTuMjWG2hbnO/FvZK29rX2PNCMbJbispjbzSvgnjMARx1 pf/JFLUu2AkpqaMS6JFD8T5JXzBc9MEh4uR8lmgrKWKVj1G2Iw9AyHlPAvxxIOnCFPEr inZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lo13si3888961ejb.199.2020.10.12.09.51.31; Mon, 12 Oct 2020 09:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730262AbgJLQuS (ORCPT + 99 others); Mon, 12 Oct 2020 12:50:18 -0400 Received: from mga04.intel.com ([192.55.52.120]:12699 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726742AbgJLQuS (ORCPT ); Mon, 12 Oct 2020 12:50:18 -0400 IronPort-SDR: Rq9OZc+4BDgtWCFdYzPWMSOJn4B2cd/BSoqUz/OPercAs1Q2SeF2RfkOk50Zfdko+CcfZvlLwF RgmpaQAq/Tgw== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="163130782" X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="163130782" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 09:50:16 -0700 IronPort-SDR: 4j0DTe0Ta5fiAnbmYr9NiHhWLK91F/kuyLIJhQaWAv9NMYTowLxbWnwFB68+9VgzijsbBE7703 Gb738MOWjKSw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="420277998" Received: from linux.intel.com ([10.54.29.200]) by fmsmga001.fm.intel.com with ESMTP; 12 Oct 2020 09:50:16 -0700 Received: from [10.249.225.186] (abudanko-mobl.ccr.corp.intel.com [10.249.225.186]) by linux.intel.com (Postfix) with ESMTP id D185F5807A3; Mon, 12 Oct 2020 09:50:13 -0700 (PDT) Subject: Re: [PATCH v1 05/15] perf session: introduce decompressor into trace reader object To: Andi Kleen Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Alexander Shishkin , Adrian Hunter , Peter Zijlstra , Ingo Molnar , linux-kernel References: <810f3a69-0004-9dff-a911-b7ff97220ae0@linux.intel.com> <20201012160523.GC466880@tassilo.jf.intel.com> From: Alexey Budankov Organization: Intel Corp. Message-ID: Date: Mon, 12 Oct 2020 19:50:12 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20201012160523.GC466880@tassilo.jf.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >