Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp38860lqa; Fri, 26 Apr 2024 13:35:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWys1ewk7kOwNmEstLpfVUL4fnN0lQAqe58EBhfdZ+YKYnjKgLSJgS+G7P8x6MYPj63SwM5gWxdbJeGLeVHvlq8qzHo3IbPwtCCZlwdEA== X-Google-Smtp-Source: AGHT+IHaldEKcZehwNgfGcBzlBaXqELxD/InbAMv+mSUzGIokPeWPPamUKaGh1eVdemVVx6BNaHE X-Received: by 2002:a17:90a:654c:b0:2ab:b480:5018 with SMTP id f12-20020a17090a654c00b002abb4805018mr4207672pjs.34.1714163710089; Fri, 26 Apr 2024 13:35:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714163710; cv=pass; d=google.com; s=arc-20160816; b=DoR1CFvkNOPnAWfh1h9ULtpe6djElz3ZkeeaFxJtRxNeDOjDGHGXjgHKkWXr54PdEZ 0cACsFzTuhzfHqBZsfaXAp4Oj9nY90wc0AJj8w4VzHW/UV744XXae2AzJ2b7oCmH3Tlj qhM0VphiWzWClmvRUmbGu3MxJftnVAllAe4nVfx4dU279niqn82oVjinEkX4MJFqKbvU q1d7Ct5R+6VhdC965u0LHIyi5ovwPpXDv6CeIAiv/ioKdcIWy6S1SO+HKh6xoUG3c/yE 3FIgH6OTx/nEBUL7szzc6T4jRwJczhlh4Kn7M3zOrDeq4q3L29iU+e/tyuEthgTOqzTi ubTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JvcKcAGttA7A6XstSWMPGxT0eED4Nify19Vh8cTm3g8=; fh=ep2qamSTYhlJXHa/rmFFHmLFWX9gtS7J1qvlcVnxbs0=; b=QP6t9sDxi3CMh19MaRmtE/etZdVHWEgzbovkbqQaM6gGVJJez/Rwpb94SxytQtSO/v +1uT1/nkyos0p6UIuw2w2mP4iBKCNgWHWSTeE63Er4kt1n1I1KRxrOHdgsytEcn+KkP4 wnCYBeDWpiPgKUolqZpkFMR6eEHHUcwjgdZDVYtY4VaE7jaXaD/XA2VkvA8TBKhDLASt fnBlR5cxps3i2CaERB0yJPXmWCvyQTV8XTZcO5tPwljbNfjvy4b0JkrDVxJ+HXykL94P CgHR3PqOHQv5C7kIIqOwf6mY4BBv5bhMxayjB4ofsoEFAbmhX7UGR+YiqPaHoWeMdSzm 8vWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WGlFRNCy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160672-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gb5-20020a17090b060500b002a6b7cc391dsi17532547pjb.165.2024.04.26.13.35.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 13:35:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160672-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WGlFRNCy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160672-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3CF8E284872 for ; Fri, 26 Apr 2024 20:35:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4684728DDA; Fri, 26 Apr 2024 20:35:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WGlFRNCy" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F403125AE; Fri, 26 Apr 2024 20:35:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714163702; cv=none; b=DHJJW93zyxGiY3fsE/J0a8XSY6ABqCD5gggDy3ogZAwa25zfp2yANol1DRKmOB5uS/D7Vk67jXjesvWRbppl+Hbsqf923b2tHHsSyTU4Jjjn/6RJsDEKA2+5OvLRG1mQTvlp+jcnGAWHDKVEeXZ+AdMeBmaTM1Ok1jjl2njCaqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714163702; c=relaxed/simple; bh=WlLetHc67AjKN+Njhs8c+QzGc+WTaiJ32UG6ag4gQMA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SXpjPffLpZklO2Riz0l/hWmif7YtjcPMkhcapy/7KCFeUQUN1rGOml6DU4SoGlPlTMPFoq5GtSS4Bnj3K/A0hxP/uspdg7USJqmfm0XXl4AWTOL0EV5MVCc0koUQ23jAEizJ6rJshtAZPlcl+f1osY4h0t0tv4HJLC03q4iOWHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WGlFRNCy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 883BFC113CD; Fri, 26 Apr 2024 20:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714163702; bh=WlLetHc67AjKN+Njhs8c+QzGc+WTaiJ32UG6ag4gQMA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WGlFRNCypSphlrcFnfldK3JiJtId2WjLUDon8o1ndv2thzTC/N5HvKPMsA62Lx0Gh fqZLxkjOq8mm+IFiaQaf8jrP4eb5MkvfgwrAV0IUCCmmi1tkCkGm0JmbAQQ8CQ4b23 jgoXz2nx3pKsZXsvbZ748SLLVkdX15AXLRXOQaM3GtIWuJfIIz/ekRLu0/b83pynHy qGxDY9BlqtO4l3pgov8nVTiphsF0YB18jzvlAvuA7BqDQ24BsXNruWM0DmHpg1rDpi aEnwKuTRtK6lpUoDzBTm8gxDLOejBnGJvKfrXZSnd1UyHtXNBITgXovFONDitwHgF0 fNGUocxPDdesQ== Date: Fri, 26 Apr 2024 17:34:59 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Andi Kleen , Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH V3] perf scripts python: Add a script to run instances of perf script in parallel Message-ID: References: <20240423133248.10206-1-adrian.hunter@intel.com> <1e2bee89-0a4a-42e3-9f81-bd7296cfb351@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1e2bee89-0a4a-42e3-9f81-bd7296cfb351@intel.com> On Fri, Apr 26, 2024 at 06:24:12PM +0300, Adrian Hunter wrote: > On 26/04/24 15:48, Arnaldo Carvalho de Melo wrote: > > + python3 "${pp}" -o "${output2_dir}" --jobs 4 --verbose --per-cpu -- perf script -i "${perf_data}" > Sorry, didn't have shellcheck installed! Its a life saver, when I saw what it found I slapped myself in the face for having applied that patch ;-( > Looks good. The shellcheck page refers to bash for "${var:?}" > but it is POSIX too. Thanks for checking! We really need more build checks like that. - Arnaldo