Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp932958ybl; Fri, 6 Dec 2019 08:31:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxjEokBjPJVXkj+CiU66ix4EQj/74Eb7EMEgOWmLaUEnAaF0Sg98n40cfCYaDoC8kuKKZiS X-Received: by 2002:aca:ea43:: with SMTP id i64mr2139007oih.30.1575649914482; Fri, 06 Dec 2019 08:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575649914; cv=none; d=google.com; s=arc-20160816; b=PrYtD+XHpKAaDZ6JaonH1cQlN235pZAFfJsA1/IXmMnAC7EIlu+Sjo2dsGRi2BcRPa ZQhHt5pp2jvAo4Kb7wW/tsfCTFVCwXYK2nBaBaM1SibVlmP7wSiiIAGTFgHqjyYLjygV fxrAaqeGftiF30XGtu5S6SPVC4svenGLnRIdnRX7pNzA8DiiwrYl/OY/7T/RhC+Ugc4d MBkniE3452WaNACuqWBcuLYcOin2u2plS1frwNEoaXTBp3hsZLxtbfSbIzH8LYTvQ28x NN+4TsrITB4JJWBulj/bNuqRSWj1TU3RooIOWAseIN8sXciUCi2S7yKP5LWGP7KV8+XI 8XQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9oDKqykd6BUx4KrYEb5+BDKkwxgfgooYBaVqpZW61oA=; b=Nj1mAzyMVYfbxeWeh5BddctKcoI6YLfrFCbKbbbiLKnRh+y1TbgzthLjeT2Iz1d39u As/lSnc1Ee1ADRu2ZyjT0LVaAAfQ/20Pld312iy+UkQiI4LNXIT1fifevZhBdHFZLzi+ ggpr64uOGDISCu7wNNkrF3jJi6pftkCny4SJZXgAHJj2aus2o8k4v2oEGViYrQdJp6JM iq72Cu9kO9genMHuZfbXqhOxHGpOfl2ZZW/A+D+A8isbRuMPV5oXyettY/zieKuDUoBo C8jjhOHLvFK4F7WMh1lbZVf9NEA5v9O0lQm5LjxSvIDpYDrhWEuNppCo9xSpT9mjE5h1 XngQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d23si6227453oti.158.2019.12.06.08.31.41; Fri, 06 Dec 2019 08:31:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726465AbfLFQ34 (ORCPT + 99 others); Fri, 6 Dec 2019 11:29:56 -0500 Received: from mga09.intel.com ([134.134.136.24]:29132 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfLFQ3z (ORCPT ); Fri, 6 Dec 2019 11:29:55 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2019 08:29:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,285,1571727600"; d="scan'208";a="294897302" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga001.jf.intel.com with ESMTP; 06 Dec 2019 08:29:40 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 31845300B57; Fri, 6 Dec 2019 08:29:40 -0800 (PST) Date: Fri, 6 Dec 2019 08:29:40 -0800 From: Andi Kleen To: Ravi Bangoria Cc: acme@kernel.org, haiyanx.song@intel.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, kan.liang@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf/x86/pmu-events: Fix Kernel_Utilization metric Message-ID: <20191206162940.GC752382@tassilo.jf.intel.com> References: <20191204162121.29998-1-ravi.bangoria@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191204162121.29998-1-ravi.bangoria@linux.ibm.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 04, 2019 at 09:51:21PM +0530, Ravi Bangoria wrote: > Kernel Utilization should divide ref cycles spent in kernel with total > ref cycles. Reviewed-by: Andi Kleen -Andi