Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4086325pxu; Mon, 12 Oct 2020 09:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrsgV5r6KtCn/lrkt0fkfbAmRXLf9k7tbHFSRSBQLNRZ9n9E/85FFzGoA4sspm9wHJ9ucx X-Received: by 2002:a05:6402:359:: with SMTP id r25mr15419760edw.308.1602518900615; Mon, 12 Oct 2020 09:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602518900; cv=none; d=google.com; s=arc-20160816; b=FDzf92xEbxfIo3e58NQmv99DPkt2XAQhOAnhy8QEo0ExIUj/MAL2h3va1IYnEHxpkg g4Swx40j/bvWABPkR7wdfqos2l0fejMGlUk6nouYShJ4aEDQyJ+fUMPSNveP8+tEgWY2 hyAdLRDJVf0mKF2LhpwPCPt/s7gOEVTTj8LYLDKh0J7GnSiGuYvSytw2i+xwdra/r7PD 0PTHsWYzMevKCCmrL1zrOVXDkX51fyaLMXARTFVoXxnO5X+Pu9y6lU5hSw8Kc1DcZydO mpSxPE+RvfoYXmdIiRMxMixYzitvOw0IQgsELKtVNL0eLOvNwbO0bAuQiQbQHZfXB7PI hwBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=qUdXgcELMcxlK6a3/y8friVhLfgKKyfAP1Eaqe0dSnw=; b=mQ8PmKWIUtwPbxSqSP1wyR4d09SBwyWc8JjCF+ji/O6yoyUa3q+tNYRI+pa7TcAEM+ VSHQSr2SkvdA7Bcym7NTiLX8t9sOhjz+gbplWW3OpqZ8cGKZ1qPGfHq4sVKgqHU88OJI ifLVNnqPm+OUpVjbSHDZbnhlda62YEI233GHN5U0xBmJUkapDr/ScbDJ7P5u1Gzh9mJj 9V+2ba1vh0aYWgLBQa0Z/3/iK2HN3pH4R6PG1Qjdf6UwDyFZ7zRI8rOEUQxQMIFzjUh7 qrE0OTrKlfjGM8jRCx518xkClxf5rkNqRoA2HZiHfF8TqV/Wwjzg6BYnZJ/QscDThDN9 IawA== 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 hh21si5707228ejb.205.2020.10.12.09.07.47; Mon, 12 Oct 2020 09:08:20 -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 S2390353AbgJLQFs (ORCPT + 99 others); Mon, 12 Oct 2020 12:05:48 -0400 Received: from mga06.intel.com ([134.134.136.31]:43344 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389068AbgJLQFs (ORCPT ); Mon, 12 Oct 2020 12:05:48 -0400 IronPort-SDR: pu92tcXtoLhnuiZHZ7ACXjLmRjlGx4CIfdBJZAZFPxvM8Gxc28tN5tsxajTSDlWqrLKIklC0DY jT3bzXfbbkCA== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="227407050" X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="227407050" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 09:05:27 -0700 IronPort-SDR: afRT3RG8XvgpDVZf3D1Kh1esm2dLeoI1T6USxXzv79Ware+HVwdjOsYCNotKW5Yqq18oaK7uw3 XRLUAYBD+rWA== X-IronPort-AV: E=Sophos;i="5.77,367,1596524400"; d="scan'208";a="520735622" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 09:05:24 -0700 Date: Mon, 12 Oct 2020 09:05:23 -0700 From: Andi Kleen To: Alexey Budankov Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Alexander Shishkin , Adrian Hunter , Peter Zijlstra , Ingo Molnar , linux-kernel Subject: Re: [PATCH v1 05/15] perf session: introduce decompressor into trace reader object Message-ID: <20201012160523.GC466880@tassilo.jf.intel.com> References: <810f3a69-0004-9dff-a911-b7ff97220ae0@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -Andi