Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp91240pxv; Wed, 30 Jun 2021 00:23:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTULSBZkFzcLm6nkPMtgsPmxMMsNNgI4kcUMFGRIHwzcXA57FzGSxK+foF+ddnRMhVJhBF X-Received: by 2002:a5d:914a:: with SMTP id y10mr7174475ioq.140.1625037795951; Wed, 30 Jun 2021 00:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625037795; cv=none; d=google.com; s=arc-20160816; b=V8EzUWsK9I7gGkWsiQPBXpSHFY93L0wneBdWbd7koFRkkwgpz7qX2q8bARIfRGoIVd O89cgHLzSC2Igqd5+XyHyGt5cKatf/AYzGfG2zw9AmO/Az4thWLBbkWMhXuQYqPXHsgZ 0RB3fWp9gzsVQI/BwkvDYUDobq9f4IqYXA/QbWwpxrqrYAimm7rD/6P71hbc4guk33mR jylnnrqwzg81CmHUrweHHMGGcarpnrPLWkQ5Nj/qBvQvcYeR1MbmnfO/cyQEpwM08urY 2u+9Rwvo9lWWIo3HmQO+MoJyoX4OKy7IibusOb2/MKe6mF2z5cQoyX8MVwee+zlqo5Kt 34pQ== 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; bh=2s+dsyQavLLCSW/A7EsiETE1/f+HTW/fhi3C7UKlnfM=; b=ld0v0EVPiYs8hZR0uz4HFCW6bF6Zm5gFJ8YNmNSvXX30tt6k4NX9p5c/8RBcbci/hr xhMiGjkuM9a2AsFoO7FAiomCSBL062J1JM+JwytpkHY1njLjRoTxiEzMmRYE25m0JITg gDop3Vd4GNkCQLulYsZaUMjeY99oo87tCo7SMEdwQRLdcBlM29Dsa3IXoXXX9EPKTZtV ITFE+mej4URtJVlFOcpLD6Ac/LILrPlOAt+6rZRCgVsrO9uTq4KdNRAQY3+DRtfGn/Os aM6JhXZ7TliHWAPwSPWzmuM6deNECAptAEpgt++UNsZI/v8RqocqdlJscZv27gBByKp+ IrCQ== 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 ay42si3153333jab.110.2021.06.30.00.23.04; Wed, 30 Jun 2021 00:23:15 -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 S232748AbhF3HZF (ORCPT + 99 others); Wed, 30 Jun 2021 03:25:05 -0400 Received: from mga01.intel.com ([192.55.52.88]:28838 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232636AbhF3HZF (ORCPT ); Wed, 30 Jun 2021 03:25:05 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10030"; a="229938551" X-IronPort-AV: E=Sophos;i="5.83,311,1616482800"; d="scan'208";a="229938551" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2021 00:22:32 -0700 X-IronPort-AV: E=Sophos;i="5.83,311,1616482800"; d="scan'208";a="457111144" Received: from abaydur-mobl1.ccr.corp.intel.com (HELO [10.249.227.67]) ([10.249.227.67]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2021 00:22:28 -0700 Subject: Re: [PATCH v7 00/20] Introduce threaded trace streaming for basic perf record operation To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel , Andi Kleen , Adrian Hunter , Alexander Antonov , Alexei Budankov , Riccardo Mancini References: <8b738198-c77e-e35e-2bc8-f709d8ec937f@linux.intel.com> From: "Bayduraev, Alexey V" Organization: Intel Corporation Message-ID: <99af01bf-93e1-31ca-c1bf-bb28c6fcb35b@linux.intel.com> Date: Wed, 30 Jun 2021 10:22:25 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 30.06.2021 9:09, Namhyung Kim wrote: > On Mon, Jun 28, 2021 at 1:11 AM Bayduraev, Alexey V > wrote: >> >> Hello, >> >> On 27.06.2021 3:46, Namhyung Kim wrote: >>> Hello, >>> >>> On Tue, Jun 22, 2021 at 1:42 AM Alexey Bayduraev >>> wrote: >>>> >>>> Changes in v7: >>>> - fixed possible crash after out_free_threads label >>>> - added missing pthread_attr_destroy() call >>>> - added check of correctness of user masks >>>> - fixed zsts_data finalization >>>> >> [SNIP] >>> Thanks for your work, mostly looks good now. >>> >>> I have a question, where are the synthesized records saved? >>> Is it the data.0 file? >> >> Thanks for the review. >> >> As I understand the synthesized records (as well as other user-space >> records) are saved to perf.data/data, kernel records are saved to >> perf.data/data. > > Ah, ok. I saw you added a reader for the file in patch 20/20. > Maybe we can save all tracking records (task/mmap) there > in the future. > > For the patchset, > Acked-by: Namhyung Kim Thank you so much for your time spent on this review. Can I resend the patchset with additional patch that address your nitpicks? To not re-review the entire patchset. Regards, Alexey > > Thanks, > Namhyung >