Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp51493pxv; Tue, 29 Jun 2021 23:12:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy30WpDbPf1klvdmclVf5/LWMvqMmQf8q/4QyhyC5dLKdvlYRA8z/k0o3QGC+w/z3Gir89W X-Received: by 2002:a05:6402:451:: with SMTP id p17mr41266762edw.332.1625033554530; Tue, 29 Jun 2021 23:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625033554; cv=none; d=google.com; s=arc-20160816; b=tOtjHw40UDrOm0Fdyst5AYv0Tc2kQzwkmQWWw2oTznZtuo/AZIMFA4o1M+LXGjqwiW AaRa/vqeSSDUCNh/+uOwlTyh4WUDONIKmNbRAvBndZ+Kc+vTjkPyDeak02oKivYjOg+D rw8xiAUUQUeWQi8QoW/LyzWcNaHC+sgNFr+eNyEycZxrNyrt2xepizmzrs2XebJ86tqJ ucMZtMGUtWu5IZ9SQOhD5t+HbxcPnLp2A2tTW1nm/909ZexdtiOMrkSDYE7DBs1uItib E3ejobTax2UBHVAMf8Vee3RBZH31XCYjSUzDQDGy/H6TU9GQ5tJ5v/uQlvkaf3KAfK5I ISyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=iRrCIidg3p+53Gp3G45rzdNB0fDCAtNVq4tw07rh17E=; b=cEEwpDYv3Pb1ruC4y+KKzL49M2BNyKgE7uRnKFRq0AWoft/SZfN/YU5QFdyZtkaBVR /hAHkMhWghObz+iFPctDvBb8etouxZP0P93KfULEebaXrFIHHm+NehK8vRl7NV4lBxX5 4DcEgETlBFWd9rSbNXM3tEXCqY9FEfA6gIci6NBcoGsV8IvddLwWdc7LAS8lT3lZvXoi 1nkZ6e1Z3varD5ZHcgMQ2uIBCO8hMzRCMYx/l+KaGvQ+KHzvEy8hd7UX068Hvx2x05JK 4mXEJ3pUiO+43YAgyfu1Ig6xZzoa0L7c71EuSAYZxyWR7fVS70qRgYmYrP7zZd5dZ18G 9aTQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si4980397edy.247.2021.06.29.23.12.10; Tue, 29 Jun 2021 23:12:34 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232957AbhF3GM4 (ORCPT + 99 others); Wed, 30 Jun 2021 02:12:56 -0400 Received: from mail-lf1-f46.google.com ([209.85.167.46]:45951 "EHLO mail-lf1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233005AbhF3GMM (ORCPT ); Wed, 30 Jun 2021 02:12:12 -0400 Received: by mail-lf1-f46.google.com with SMTP id h15so2892332lfv.12 for ; Tue, 29 Jun 2021 23:09:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iRrCIidg3p+53Gp3G45rzdNB0fDCAtNVq4tw07rh17E=; b=GOyJ9GZVYmnLV3Zlg/8z+/x4h33OQ3qlM0q5j/MhnC92PGSY/MZTsmKr5JAjzfE6fY OLqnGXXAY52wt0UYxs2xDGu4ciINkCWPZV875lDZuUFvqg7ii3+WU3HaxCTBRHcgGmlK MvwZ7TgSt2P6K7TokjHMDqfzdh1j89XEcDTdaHNLbZlarORN75mymXhSXBeqfceyuvgr eb0JWVCR44qmDmdrLf0Yw3BwTUN5d3PGFgjSWBGGFve0pu7iuULqBARNq/3A4zEi+Z25 1oeArf1DatAnOxIFwYHDLJZw3me4vrvh47Xz31r/jVqMWaqWuMpujJbOZMeQc6GD4lVz 4uEQ== X-Gm-Message-State: AOAM5330rvZXQct3RM8ieoaJonSsIbK5xTfSGcWTXwdD5OxaH5XWB3BH L8bDnelAM7IcKqJ00UaHj+4+YGeIuZEXB1Cyuko= X-Received: by 2002:a19:4916:: with SMTP id w22mr27050107lfa.374.1625033382693; Tue, 29 Jun 2021 23:09:42 -0700 (PDT) MIME-Version: 1.0 References: <8b738198-c77e-e35e-2bc8-f709d8ec937f@linux.intel.com> In-Reply-To: <8b738198-c77e-e35e-2bc8-f709d8ec937f@linux.intel.com> From: Namhyung Kim Date: Tue, 29 Jun 2021 23:09:31 -0700 Message-ID: Subject: Re: [PATCH v7 00/20] Introduce threaded trace streaming for basic perf record operation To: "Bayduraev, Alexey V" 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks, Namhyung