Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp376316pxu; Tue, 1 Dec 2020 13:33:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRmAfldCRE9bNSc5LpLa2JHvC0sMSVYVCTYatbKkMk69J2ZyvBZOKJ80Y5Cdlm2PueIwx0 X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr5194659edy.63.1606858414912; Tue, 01 Dec 2020 13:33:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606858414; cv=none; d=google.com; s=arc-20160816; b=Uel1nRc4uiNeusmC6zL5Hjq9nyO0E0WEGPbb3rXZsD6/RQk98cKENab4rFCB1PQ6M9 r63Pnw1T19tGOfJ7OxYk9qch1yjMel0Y0t7TLmMt4dKy8NZhuDe4WqmZXS0kBKObUe+m aba3/P9EKzf1MJ4RfWLlwmWcdbgqv3P2vTWscLvfWRrO0IG7M43fzXmmoIRPUd7o9ZGW uiGhVCpja9jHkXJhjjlE33ldeAyEks+yYy2DQ/NAhu/yFDo6q3El1slgy080gxK7/Zyl TMC9TCB+dt1kGM1G9Wi6D/sOEbpfR5Evx+mRF48pIp3iZ0F+UyzfyyXpYZJM4Tt+0YIv 9BrA== 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:from:references :cc:to:subject; bh=Fm9jhocCVJli1CRatpdWu/e4quOGg6vhynNsB+VXoI8=; b=VjDI6YIMJfvTUnadunswgaWZULVPuR9m0ju7AJeu5Z2fB4K0+NOGFcExE6XsuyHeQU ZsxbExHA9mhvYlUdfpu1ajN9OFPu0OTzOX8XlYvtt+h8IODN+eZRonVFu33harQOONFz oJ93YSD+/0IEOM2SrGCDi4OGWqdchSAJMPJ3oISBpD+cuMRfE9HrOplvkHaaddzQZIDs iBCtE/jpL6fcwZQ3xNLuj4c7o6yhQKwGFgtK+iva/pJZNszgGHojse2bQUl64Pffk/pA PHek/x8i0D7r2mEbeisUwzBaxNNx195O6X13pNudBxu9duRuCY+Rs22vQJInEnVh78vW ceZA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o24si797687edz.608.2020.12.01.13.33.12; Tue, 01 Dec 2020 13:33:34 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388185AbgLAV3T (ORCPT + 99 others); Tue, 1 Dec 2020 16:29:19 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2187 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388128AbgLAV3T (ORCPT ); Tue, 1 Dec 2020 16:29:19 -0500 Received: from fraeml740-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4ClwB83t30z67FYd; Wed, 2 Dec 2020 05:25:36 +0800 (CST) Received: from lhreml741-chm.china.huawei.com (10.201.108.191) by fraeml740-chm.china.huawei.com (10.206.15.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 1 Dec 2020 22:28:32 +0100 Received: from [10.47.199.27] (10.47.199.27) by lhreml741-chm.china.huawei.com (10.201.108.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Tue, 1 Dec 2020 21:28:25 +0000 Subject: Re: [PATCH v2 1/3] Revert "perf session: Fix decompression of PERF_RECORD_COMPRESSED records" To: Jiri Olsa , Petr Malat , CC: , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Namhyung Kim , Adrian Hunter , Kan Liang , References: <20201124095923.3683-1-oss@malat.biz> <20201124102919.15312-1-oss@malat.biz> <20201124143645.GD2088148@krava> <20201124181519.GA29264@ntb.petris.klfree.czf> <20201130114020.GA29476@ntb.petris.klfree.czf> <20201201190928.GB3169083@krava> <90d5469d-2591-44bf-70c4-edc1b2750935@huawei.com> From: Alexei Budankov Message-ID: <1ee1c9b6-516f-cee1-1b37-388fb5507cd3@huawei.com> Date: Wed, 2 Dec 2020 00:28:18 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <90d5469d-2591-44bf-70c4-edc1b2750935@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.47.199.27] X-ClientProxiedBy: braeml703-chm.china.huawei.com (10.226.71.47) To lhreml741-chm.china.huawei.com (10.201.108.191) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eventually sending to the proper Alexey's address. On 02.12.2020 0:04, Alexei Budankov wrote: > > On 01.12.2020 22:09, Jiri Olsa wrote: >> On Mon, Nov 30, 2020 at 12:40:20PM +0100, Petr Malat wrote: >>> Hi Jiří, >>> were you able to reproduce the issue? I may also upload perf-archive >>> if that would help. >> >> oh yea ;-) seems like those 2 commits you reverted broke 32 bits >> perf for data files > 32MB >> >> but the fix you did does not work for Alexey's test he mentioned >> in the commit: >> >> $ perf record -z -- some_long_running_workload >> $ perf report --stdio -vv >> >> it's failing for me with: >> >> # ./perf report >> Couldn't allocate memory for decompression >> 0xfe6f3a [0x60]: failed to process type: 81 [Operation not permitted] >> Error: >> failed to process sample >> # To display the perf.data header info, please use --header/--header-only options. >> # >> >> I think that's why here's special handling for compressed >> events, but I'll need to check on that in more detail, >> I was hoping for Alexey to answer ;-) > > Sorry for delay. Alexey Bayduraev could possibly help with that sooner. > Alexey, could you please follow up. > > Thanks, > Alexei