Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2511610pxb; Sun, 15 Nov 2020 07:19:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKZi4LlU46BN+EY5vTbzqBgTMB89mK2aPwpu9Ux3uNszKAyBnUnns4Ls4n7+TnupDpseO7 X-Received: by 2002:a50:f98b:: with SMTP id q11mr12052152edn.345.1605453554664; Sun, 15 Nov 2020 07:19:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605453554; cv=none; d=google.com; s=arc-20160816; b=FM+940mcUkxmdQqzcguzSWHa1YnFcjktU2dIsfbv+BXB75vw4u9n+N1JjcuAj5LLBB mYyhYDnwzCwyMPirCS1HwroBbAG+PVvERLRKly3zb+kDQXpLDw94t6pyLL2GFZp9utKm 6hsz9p0jb3aMJUZtJ0FDs7rsm/wD2KLJWNcsKM3okDb2W6zxVYqXisRjwrPu0IZM3VGb WwxCAXzuuHiBdTXpiMG2fCx2RduhVfMImWRaHBbk7I9W3k4QUsAS8PNXuNiZmgBft1QM BL3+lPgCvnUmxBatXXJH5lzzqGonKIeEp6ZQ1u5CbGDJm5fjOQZR5hdgf8J+9MyN9GPe 4fLw== 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=Cwj4bvKuAVmZSaAQ0JTTIZQLpzGdLeIj/NQEyutnrr4=; b=RgPQzGjbrKKICneCva5S9oXfQm3ksb3IAtO6MPeoVnz0HoodQpUkCHUQvudCnWXfMC Wi5Z+A2dqEsmOapIvwEREWYRpD1fmCaf+BTMEeX57vRPCayFuWBNRAgmB2v3epPWnOnZ kZqufPgm/VLezL2qGatwhCrmuEC+C25bPmWVZiLccoFfKp/nDNI1BZx8krnDABjuy5do n4vOTwC+X0jPHRSy8Es1lhc16Sj2P6VvqcKv6kY7k6nw+b1OlQKpKlVLlg9j8SGrsHCF xfIBPTAYIYEqHjqQgFxMbSlKlSudgmoh1tfFTNwnl5LZ3TJQaClaRfdKhDi7/Cw7+WRz iyFw== 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 jz19si11904498ejb.238.2020.11.15.07.18.38; Sun, 15 Nov 2020 07:19:14 -0800 (PST) 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 S1727089AbgKONI0 (ORCPT + 99 others); Sun, 15 Nov 2020 08:08:26 -0500 Received: from mga06.intel.com ([134.134.136.31]:39378 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726645AbgKONI0 (ORCPT ); Sun, 15 Nov 2020 08:08:26 -0500 IronPort-SDR: MLGlA74Tl0bhrMGuIDUDFg/QzesftYiATw1WvyK/mgR/EBG/ZWzeyef6/xRtO06CEY+bmq0S7S 6gHd4lxndiIg== X-IronPort-AV: E=McAfee;i="6000,8403,9805"; a="232266403" X-IronPort-AV: E=Sophos;i="5.77,480,1596524400"; d="scan'208";a="232266403" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2020 05:08:25 -0800 IronPort-SDR: MfLy4R2hZuIqC/KrcMslYzK0ROgSvqwgCA/ikRy8lUv1dxGtH2xGVN/oh3St3Z0aDOHjUpzvjz hlDmLrKm6ibg== X-IronPort-AV: E=Sophos;i="5.77,480,1596524400"; d="scan'208";a="543247469" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2020 05:08:25 -0800 Date: Sun, 15 Nov 2020 05:08:24 -0800 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: Take cgroups into account for shadow stats Message-ID: <20201115130824.GM894261@tassilo.jf.intel.com> References: <20201114023643.211313-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201114023643.211313-1-namhyung@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Actually thinking about it more you should probably pass around ctx/cgroup in a single abstract argument. Otherwise have to change all the metrics functions for the next filter too.