Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1389416pxb; Fri, 13 Nov 2020 11:20:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxElNTZLZS/+Y94olrTlKrq6SvEiLqeY9yoDqwwEiX8LjsnU1H8PK8PAMlkkIWyS9Wc//da X-Received: by 2002:a50:d885:: with SMTP id p5mr3908499edj.169.1605295258368; Fri, 13 Nov 2020 11:20:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605295258; cv=none; d=google.com; s=arc-20160816; b=S5cbQdl36RbiSDzdL9Rfzk6+1B/2hG9Le/ZWjyZpc/4WoCBxYviA94MvsuJQCVTGMb Uc0rEAVkJ9dejUZPpDOzlduylx64jqbTtYCufNvd0BOcVxL7EuVx5bGfkVOkFjVUxZ5w eGfzvI1yHvFF+1tfX3OtnK9aCYjaCy7eZ2gl0/e51HrV6zLtw9qOSTRDMv/RtpDPshkn gVlr/XHWSoqcGxthn4wNzrwTkg50Te8AW0u/DAzxL97QkXwMTySynx+6Z1Q3gwgGKB0v Ja/JTpmVPqY9djV6sNzeLLxDkx1af4Jll9ehzfnDe0bFNlD0MSZF6ePmN0Y6woCZ2ERS S/3Q== 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=Qbam9kko0esB881sQr4AEkUx+wqIwElmwRbF4KX4hrA=; b=Jg10IjSoZtnR6pMT0mvAuRDuyeVOiNG2i9xmcE/0e5zdgCyPyTixSIpm72yjLXHZcE aDpA6OPhtF7rL3vzKzn+xOsPAN20OCB/9GjlXkQ43DgQfVaER6pPPozcGdhv5noJTzMQ 2CKQLJdW6kN3dNMKnFGOtBi0x2f4QREUAbjnDbuoHs68OmgZEE2YvRWUcbrLPTZtCFqH sPPppGwnj+08GAvFGy7yBH4l5mB9bg8AMGrVlsZprCk3XGzHy/Uff30dK1XlQiF7O6W9 MeEr44MjACK0HNBQooHs2BBiGuNT8p7Rp1dscU7AwzCJIr+CKrRfABDj5IuJk5BdBQ12 24MQ== 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 n21si3289694edo.261.2020.11.13.11.20.34; Fri, 13 Nov 2020 11:20:58 -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 S1726227AbgKMTSY (ORCPT + 99 others); Fri, 13 Nov 2020 14:18:24 -0500 Received: from mga06.intel.com ([134.134.136.31]:8607 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbgKMTSY (ORCPT ); Fri, 13 Nov 2020 14:18:24 -0500 IronPort-SDR: FGyAQhm5QpLQBM4ZI++cX+tZcVuT+4DkUBeHVbNC6c2yeCKFxbCrsSggljWUu9J4BUAqAlG+DG v5LizxMOZikg== X-IronPort-AV: E=McAfee;i="6000,8403,9804"; a="232136849" X-IronPort-AV: E=Sophos;i="5.77,476,1596524400"; d="scan'208";a="232136849" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 11:18:06 -0800 IronPort-SDR: iVmmRtd9iz+j1yeLIfDQPZK/dON7Rpe1JyQsIxRNU24ZxR2Ib0AiLUM+rS0Ok8+pofZF8G9aye k9L3Kou6x2vg== X-IronPort-AV: E=Sophos;i="5.77,476,1596524400"; d="scan'208";a="357620057" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 11:18:06 -0800 Date: Fri, 13 Nov 2020 11:18:04 -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 , Sam Xi Subject: Re: [PATCH] perf stat: Use proper cpu for shadow stats Message-ID: <20201113191804.GH894261@tassilo.jf.intel.com> References: <20201113050236.175141-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113050236.175141-1-namhyung@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > CPU0 109,621,384 cycles > CPU1 159,026,454 cycles > CPU2 99,460,366 cycles > CPU3 124,144,142 cycles > CPU0 44,396,706 instructions # 0.41 insn per cycle > CPU1 120,195,425 instructions # 0.76 insn per cycle > CPU2 44,763,978 instructions # 0.45 insn per cycle > CPU3 69,049,079 instructions # 0.56 insn per cycle > > 1.001910444 seconds time elapsed Yes makes a lot of sense. Thanks for tracking that down. Reviewed-by: Andi Kleen -Andi