Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3440777pxu; Tue, 15 Dec 2020 07:08:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNpG2QiBDTntr2hvaLmVqxfy81MR+UQybRJbFIRsrOyaSDURnnVw7Y4FJGuVtPYsyOHjaS X-Received: by 2002:adf:a3c1:: with SMTP id m1mr3301696wrb.28.1608044934896; Tue, 15 Dec 2020 07:08:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608044934; cv=none; d=google.com; s=arc-20160816; b=Z8oCAor98qB997xZ94CraZdN5GeCQHmpngSrSRfFDmExIe64ip5q+suyOrLA0NZqg+ dAqXNQdKWvfKLTj8uHjABCv60X5SyDxvHwRfTxDsjJNgWIppK+6WP/dW7MlmcWwgks6h IPyffuUYVEut9EyBdJaLxDUx3GF3j89LfkPWxgkZWUByoizRz/fdcldywa0SmpNea8Zl j7LkTefmDU6zFDGWwc5gIdsjlZvqs4Ag2CNHSMZg49dXOGqOcbDKMulHfptciCJYp+j1 t9PZJe8IgKk+u8YpwyCRavP+uerfEJL+rh5cp2FjB6eiq8Y+RcgMhdGTYR+dWhNAQvI3 NU9A== 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=Mk1q3+ecN2CEx8iaiBCTdlAVZydeVAlxLUbjl1vP/u4=; b=PMGpMXyhC5Ls4C7jpQJ/oA5RmGMNDEw5/lK0fX5beahMji76R8pViLYeC+KzVChIRJ poD9bvRcoc7w9ljeLwzxrONfpA1eVYUBOyPDXO8aGeLfXbqiHvyXSNIXp36uwk2XRxqx EZhYrJeoAL/ToqErHFtiMxpp8gitlj4sVgUNruph67VVIYeAvkX5pAP086QouYCPQ/8T pfoCSi31G5DsJHfWByIT8dzRTBWr9kOTyeZ71HPQ3Y548jnDp47+3RvIs43IWRrrRmbc C9hueap75sG4s+SUfswS5qhAEgldN2SMSNE3hbZ3NdaL8kCpHAE+On30mgepThwNDMdg ls5Q== 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 dk11si942251edb.594.2020.12.15.07.08.31; Tue, 15 Dec 2020 07:08:54 -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 S1729881AbgLOPGQ (ORCPT + 99 others); Tue, 15 Dec 2020 10:06:16 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:2259 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729605AbgLOPGN (ORCPT ); Tue, 15 Dec 2020 10:06:13 -0500 Received: from fraeml736-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4CwM0r5vV8z67Q4G; Tue, 15 Dec 2020 23:01:48 +0800 (CST) Received: from lhreml741-chm.china.huawei.com (10.201.108.191) by fraeml736-chm.china.huawei.com (10.206.15.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 15 Dec 2020 16:05:27 +0100 Received: from [10.199.170.166] (10.199.170.166) 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.2106.2; Tue, 15 Dec 2020 15:05:20 +0000 Subject: Re: [PATCH v3 00/12] Introduce threaded trace streaming for basic perf record operation To: Namhyung Kim , "Bayduraev, Alexey V" CC: Arnaldo Carvalho de Melo , Jiri Olsa , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel , Andi Kleen , "Adrian Hunter" , Alexey Bayduraev , Alexander Antonov , References: <7d197a2d-56e2-896d-bf96-6de0a4db1fb8@linux.intel.com> <20201120094512.GA94830@google.com> From: Alexei Budankov Message-ID: <54c121cf-1295-30b4-adc3-c96c2e91ca55@huawei.com> Date: Tue, 15 Dec 2020 18:05:14 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20201120094512.GA94830@google.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.199.170.166] 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 Hi, On 20.11.2020 12:45, Namhyung Kim wrote: > Hi, > > Thanks for working on this! Thanks for your review. Just spotted comments for this version. Sorry for delay. > > On Mon, Nov 16, 2020 at 03:12:47PM +0300, Alexey Budankov wrote: >> >> Changes in v3: >> - avoided skipped redundant patch 3/15 >> - applied "data file" and "data directory" terms allover the patch set >> - captured Acked-by: tags by Namhyung Kim >> - avoided braces where don't needed >> - employed thread local variable for serial trace streaming >> - added specs for --thread option - core, socket, numa and user defined >> - added parallel loading of data directory files similar to the prototype [1] > > Can you please consider splitting tracing records (FORK/MMAP/...) into > a separate file? I think this change would put too much burden to the > perf report side. I'm saying this repeatedly because I'm afraid that > it'd be harder to change later once we accept this approach/format.. Alexey Bayduraev in To/Cc is going to proceed with this work so there are chances to have updated version soon. Thanks, Alexei