Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3527631pxb; Mon, 16 Nov 2020 17:55:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwUwuNSgGbeO5WGZqHEmuV70H4p6CQ7m4Tfl299vOUTHWuVgLuVSahSU/IFE29EOJihlaN X-Received: by 2002:a05:6402:b3b:: with SMTP id bo27mr18354963edb.376.1605578151943; Mon, 16 Nov 2020 17:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605578151; cv=none; d=google.com; s=arc-20160816; b=gShI2AqMzIMwkGdV2oida3PCQjNZ6AlBXxWHZ3iniqlqUnAMtPC1696mbaTbeTJp5H SNkJsQ9qNNSYW0YENpGZKJ00z6QXic+Ubv2an1RNFYWXdRl79t9ET4RP0bklHDoAx+jr LR+nq/V3P2lkqSjUTVZE+Mw1ALjC1deJXkBhpTlx/6fkNOA+d+W9wIXgivHgnF8J61rG o2efIWW401xSrJ8dYusqrQKEsiPzITcdGub1tXE3Sv8ndggSsNqrrWZUNrB0zMmhYTAJ pIF4WxBcX4mMj83J4QsQYtlWUX+PGd1hicfGxjA++skCwsXwypZZJHx2A9PCcSskH6Qk /mNg== 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=N4ZH/LjNb3Hokat0rYv7xscgHOsbb+sHkrIrtYELG2Q=; b=KXaM+74BGNfsOsOb2KbI5+9HZ+hJEss6OSRICwF8ah/dKKR3QMDMhjRKRp0bxar2dV nA8OEDCZOUb0LhuGU3GMr5M0HPepIvTLh4C66Z89WClaiy2rObg2yjGceMGT5NicWPRe hGkHbkDV2ODuz6s8Wq0NhAlqKTyImsj0Q9IUQi1ZvdzAF6bcvJq8IeUlI6Tjo5vd70xf UdizzJXfLp/xMB0tiXxQuE6PwX2zL9eai8FuFrSGCNeh1GokAYLBjRfDEDS/SAjBwWvo zTbYCQH99KO4sxloyJbigeF48L6bnbbI3nblmRmq4xzi22vZWfylWNeZP5DdZx6fpy/s G9HQ== 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 m11si12737184edl.523.2020.11.16.17.55.29; Mon, 16 Nov 2020 17:55:51 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732253AbgKPQlp (ORCPT + 99 others); Mon, 16 Nov 2020 11:41:45 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:33808 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729689AbgKPQlo (ORCPT ); Mon, 16 Nov 2020 11:41:44 -0500 Received: by mail-qt1-f196.google.com with SMTP id 7so13325171qtp.1 for ; Mon, 16 Nov 2020 08:41:44 -0800 (PST) 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=N4ZH/LjNb3Hokat0rYv7xscgHOsbb+sHkrIrtYELG2Q=; b=R4RlypE43NEuGg4xg9mtVUr7FbOZXj6x9X+33SBQ6R6E8sHExasyLMEV2BcOLYVLmj KxoN6Hl/YdGRzA5h9tGvKFFs/xGY+Xjz3JVTaCzzBcPTELfzXM++KfjO+p8RvKK3vf2S eQkxSo6W+SD/JQhIpnQUWNG+xuiKyxEM56IOyxxVQkb8PDYxT6jThu/7BfXnnV3cmrHH 3ACqXfyauY3ConF/U48eA4G/0/f5LUgU1MaES8hl+hYj1nFAaDy7aG8O6Stt5JzGQtGZ w2Tl0xvf+Ekg9cDcMqJXKciPS2WnmBUnUmBxJ87w5i4KJWKP+yPMWl7hFd2QD2lhlXQ4 OfxQ== X-Gm-Message-State: AOAM530CK/mvrwC2fyZAFJJAc6fhBjmcb2m27PQXlQsXN6cBzce6GF4N 99vYfauKBfdrLLuw+qFWyqxcgAMpUpuiDvq4xVY= X-Received: by 2002:ac8:5806:: with SMTP id g6mr14914954qtg.292.1605544903546; Mon, 16 Nov 2020 08:41:43 -0800 (PST) MIME-Version: 1.0 References: <20201114023643.211313-1-namhyung@kernel.org> <20201115130824.GM894261@tassilo.jf.intel.com> In-Reply-To: <20201115130824.GM894261@tassilo.jf.intel.com> From: Namhyung Kim Date: Tue, 17 Nov 2020 01:41:32 +0900 Message-ID: Subject: Re: [PATCH] perf stat: Take cgroups into account for shadow stats To: Andi Kleen Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ingo Molnar , Peter Zijlstra , Mark Rutland , Alexander Shishkin , LKML , Stephane Eranian , Ian Rogers Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 15, 2020 at 10:08 PM Andi Kleen wrote: > > 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. Ok, will do. Thanks, Namhyung