Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp504015pxf; Thu, 8 Apr 2021 07:29:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGaFYeRM6eQgwzV//nFJEhnEPBgYYiE+z7H1D0xCExOehGUEFV+sYABodg6QXR6288Owhr X-Received: by 2002:a05:6402:26c3:: with SMTP id x3mr12213592edd.126.1617892190041; Thu, 08 Apr 2021 07:29:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617892190; cv=none; d=google.com; s=arc-20160816; b=FwDGnHIAFNFZBwnLH+zDmsOmHw4vJhiTRFMXb/Iv1xGVziwB0PO6s8wa8pYahYB+P4 zXMKs0xc7TOF3wkUcgYLsIpPAwTokwScbJ/oJJCf1xbqa5zX+OlD1JuQ+QQvgUkWgW6l 5l2Ybtt29+xOUx5u8kmRQwt+BHXYuY3nQvIeMFqqDYw60gNxcuWCdDKERgHSpe8l5oPi MnBaD8qhPFf0q67ZD+0BJm6E3aMC5sCaNvXiQqtet4h825KfSqto0ynDJpikZAUKTABq axeygF2cPvsLze+qImRqD2oXsKm7azC4PdtnoKJcjeh5b8N94duZu0F/Smos2RXs/75D rKGw== 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=wfu5XSsLVDi18KE644jACEa9VRyR5KIK2Ff654lN6RM=; b=BfAXjDVARYwl5MK14C7iIMAkfox5ZS/swXEjx+CDRfyEg3aiLjmOuBntnYXbItJXVU jmCKe7hMxHK69en0QurU1mDwc2KsVX2CtaXCQX9A8Pv5LjqPTp+zO7Mrvgbh4fWtiMTb 28NcQ80maDnDm4fzSkxOPUDKu6sNUT5glezG125ynwNxErkNvBO8oZhXQBf+UWnHrZuv bzqyHkgAqNA9I95UH7X/ewP8OgQ8LrbNup4JPeqODezi+PX3n37/281j803TuKzg0JeV q/K0YrT1wUmBqynnRXuXqe0Mf9dsXFEbBHKY+jtoRgxp2LBlqj1eCJK7WUZf+zGsN6HU T/4Q== 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 rp22si16501108ejb.282.2021.04.08.07.29.25; Thu, 08 Apr 2021 07:29:50 -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 S231843AbhDHOZq (ORCPT + 99 others); Thu, 8 Apr 2021 10:25:46 -0400 Received: from mga11.intel.com ([192.55.52.93]:22056 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231672AbhDHOZp (ORCPT ); Thu, 8 Apr 2021 10:25:45 -0400 IronPort-SDR: fr1wVnwWdAEwXuvtDMRiyflqveukeTo/SPwHJVG+EymgvjV7oFMQnQQp/yUpBNNkJUNtvtPRJM MCBycSbAUbog== X-IronPort-AV: E=McAfee;i="6000,8403,9948"; a="190348973" X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="190348973" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 07:25:34 -0700 IronPort-SDR: 9MLeb5McO4R09T4BOpjpHvg7IV6CfBDy4LORwwBwHqgfqEUazcGSRMbhbvg5A5FoNfLDPtVI23 3iQCqnuQ1dSQ== X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="458844929" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 07:25:34 -0700 Date: Thu, 8 Apr 2021 07:25:33 -0700 From: Andi Kleen To: "Bayduraev, Alexey V" Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel , Adrian Hunter , Alexei Budankov , Alexander Antonov Subject: Re: [PATCH v4 09/12] perf record: document parallel data streaming mode Message-ID: <20210408142533.GF3762101@tassilo.jf.intel.com> References: <6c15adcb-6a9d-320e-70b5-957c4c8b6ff2@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 > +--threads=:: > +Write collected trace data into several data files using parallel threads. > + value can be user defined list of masks. Masks separated by colon > +define cpus to be monitored by a thread and affinity mask of that thread > +is separated by slash. For example user specification like the following: > +/:/ specifies You need to be more clear on the exact syntax of a mask. Ideally some full examples too. > +parallel threads layout that consists of two threads with corresponding > +assigned cpus to be monitored. value can also be a string meaning > +predefined parallel threads layout: > + cpu - create new data streaming thread for every monitored cpu > + core - create new thread to monitor cpus grouped by a core > + socket - create new thread to monitor cpus grouped by a socket > + numa - create new threed to monitor cpus grouped by a numa domain > +Predefined layouts can be used on systems with large number of cpus in > +order not to spawn multiple per-cpu streaming threads but still avoid LOST > +events in data directory files. Option specified with no or empty value > +defaults to cpu layout. Masks defined or provided by the option value are > +filtered through the mask provided by -C option. > > >