Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp843443pxu; Fri, 23 Oct 2020 14:57:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVODXrGWWMN6KEXU2tzu43OYx6sdKPKslbJrw7DUfIOqHpjKuT4Nqje4jRb+6vvonFzAuC X-Received: by 2002:a05:6402:156:: with SMTP id s22mr4429080edu.178.1603490250977; Fri, 23 Oct 2020 14:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603490250; cv=none; d=google.com; s=arc-20160816; b=ZuFR4keAKA8O2lMoNwA8DCR7k1b/cG1s+aqzYCD9xW8fMEgBUHVTCb9t3Iv0/+QTfR +rNuROCBsX2S+ZdDSkVypgFIBCczJOtTSjUq4z27BhJcABAEnPTYezafsy4RUjMA/G7j DKARZ+0qllDJdpF9QapRwOZxKy8hTym0Pf+jWub5yDb71E3wHDrIETq2D2bmow6cdzVm up2XZxiw503vZv21ak+GXxom0sATzYkfPfnGLYOBh8yKncHArWF+nJQIo/G8ALKHvKhw sUsHc3ONbFU/FhN6j9I5VvWHGxjPpMi5k4jss6LvuFuIcBndVDNaIZt5359NdrENuQ+E 5XyQ== 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=J3OghFrw5AWkvjzEJV/ZB1r6+FynqM2O9sH2iP8B2wY=; b=BRZ5CXx/4bRwYpr5g6E+hZPWttwaPjAimAjHXT85il5RNTGYR6zPLTHbgIyLiRlqdf 0YVodJDB5i7H9HuIl/DUtr6ONZnwz7ymWUvP5/1mQg07eqsUe5/inz+o50X26z3f4Qe8 pVqDdSXZ473wuwiIQN5Y8ME/V2kG1rcATdlkLRLXOfycEFUGufW6qD7nvzid+ZlKFLiS ZJ3FUfSAWy4M6dqR7rUz79FKMm5I70EqNF8pWbHIrcTVE1PUTZo3PzqBnGZOAWRtsH9m lbMaVT0MaF0elIKRhNzhgdsN02EAjshIFeGZ6NVblKJKnN6IWSVQi11GXc6ig+VJUIQJ wTow== 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 l12si1776534eja.225.2020.10.23.14.56.42; Fri, 23 Oct 2020 14:57:30 -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 S1752963AbgJWREc (ORCPT + 99 others); Fri, 23 Oct 2020 13:04:32 -0400 Received: from mga04.intel.com ([192.55.52.120]:39748 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbgJWREa (ORCPT ); Fri, 23 Oct 2020 13:04:30 -0400 IronPort-SDR: ufMj7GUvg3xgsef4KcMLZYeD6JUTL6NVx5hT03dUEtTuItBIxnTHt+9l5p7HKzkqnaa1m/AF0H 5KwYnZBqhA2g== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="165113116" X-IronPort-AV: E=Sophos;i="5.77,409,1596524400"; d="scan'208";a="165113116" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 10:04:25 -0700 IronPort-SDR: fz42lWdLA6Y6mVtYrpGTQqgMgaXWL+n93Ha+OLjKlC2bO1ShORHed66BOkS1E7r91dT2C8R6e+ Z4wU0jKBctqA== X-IronPort-AV: E=Sophos;i="5.77,409,1596524400"; d="scan'208";a="534474865" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 10:04:24 -0700 Date: Fri, 23 Oct 2020 10:04:22 -0700 From: Andi Kleen To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ingo Molnar , Peter Zijlstra , Mark Rutland , Alexander Shishkin , LKML , Stephane Eranian , Ian Rogers Subject: Re: [PATCH] perf stat: Support regex pattern in --for-each-cgroup Message-ID: <20201023170422.GS466880@tassilo.jf.intel.com> References: <20201023074234.395002-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201023074234.395002-1-namhyung@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 04:42:34PM +0900, Namhyung Kim wrote: > To make the command line even more compact with cgroups, support regex > pattern matching in cgroup names. > > $ perf stat -a -e cpu-clock,cycles --for-each-cgroup '^.$' sleep 1 The example doesn't exactly show the benefit. So ^.$ would be only for one character cgroups? Missing documentation updates. -Andi