Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp676986ybc; Sat, 16 Nov 2019 06:46:44 -0800 (PST) X-Google-Smtp-Source: APXvYqz01YoFNUZGDCTAGS5pD2bFoTWuT1/DppnFTMCeWMQB4ELjGL12Ooyw2TK5Bx3+0q+nAGFf X-Received: by 2002:a17:906:4dc8:: with SMTP id f8mr10141417ejw.62.1573915604555; Sat, 16 Nov 2019 06:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573915604; cv=none; d=google.com; s=arc-20160816; b=RhXCJg4QKQQu6NB/wZVTdFH/qGWFK1N5rPD9gGvDobMwPuEiDoyVTJWBPyw0roUBUD GiW7W/xQlw0Edq1klSRYqxU0GJFPN3zkzsHzAMQOdEZBmXClLeY+YCBSHLtl0S837CFB oRqwJTBxoTik5MKPXLXsl4SfuIqWmIoY0nB0WRvdkSmvXw8lZq6u4za4zMV/aFE/lOXm LlkrJEK0U9AIVHGVTFego2wLHk9YcGfmBsi5aU+fWRy8hGqrR0q8EeoUmsAKwGHOPY8H 0SiQ7tFvsHASlNzl6rL9mdqpGrlEqH9NsX6rb46sEL3djzdM5l4WebaWw8tjSJSUODyV 117w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=Bstd3h3EyYM/HZjplJv6/jQzSQBwzW5s3T7UWJRZ5L4=; b=WRztCyeC0Yest4UAcEi3EGgqIBfmUy8OOpYwEyXd4tf8MBMBBZLZH/34JtXYOxad3j zR0go9SqX3zsLohsx7zIx+xIVthSiRf0XaN5scl/YT5K6zMFSqsE0qiW03OK+8igBgny J/ycP8AmcwzE1e5hBfiWxP2P8qUwpM8dX7bospjRrfawxkK9uaofC3gijrEU1mbqLY3Y 8GcoWSFVzbNMCG7l9VHwy7X5xtD5Z/gme0kfIyzvwJhCwzIUH6kwHJTnHTwjvfoswDg8 3eTaPtqvx3NDTlUWU6l2vIjn5RG8nPrhL8ONBV1XjOXGioGrRZkUCL849BJk564AEv0G DirA== 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 ca10si8008062edb.67.2019.11.16.06.46.17; Sat, 16 Nov 2019 06:46:44 -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 S1727690AbfKPOpV (ORCPT + 99 others); Sat, 16 Nov 2019 09:45:21 -0500 Received: from mga14.intel.com ([192.55.52.115]:33990 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727589AbfKPOpU (ORCPT ); Sat, 16 Nov 2019 09:45:20 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Nov 2019 06:45:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,312,1569308400"; d="scan'208";a="258009379" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by FMSMGA003.fm.intel.com with ESMTP; 16 Nov 2019 06:45:19 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 88F8C300FDE; Sat, 16 Nov 2019 06:45:19 -0800 (PST) From: Andi Kleen To: lqqq341 Cc: , , , , , , , , , , , , , Subject: Re: [PATCH] Perf stat: Fix the ratio comments of miss-events References: <1573890521-56450-1-git-send-email-liuqi115@hisilicon.com> Date: Sat, 16 Nov 2019 06:45:19 -0800 In-Reply-To: <1573890521-56450-1-git-send-email-liuqi115@hisilicon.com> (lqqq's message of "Sat, 16 Nov 2019 15:48:41 +0800") Message-ID: <87pnhrg9s0.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org lqqq341 writes: > From: Qi Liu > > Perf stat displays miss ratio of L1-dcache, L1-icache, dTLB cache, > iTLB cache and LL-cache. Take L1-dcache for example, its miss ratio > is caculated as "L1-dcache-load-misses/L1-dcache-loads". So "of all > L1-dcache hits" is unsuitable to describe it, and "of all L1-dcache > accesses" seems better. The comments of L1-icache, dTLB cache, iTLB > cache and LL-cache are fixed in the same way. Reviewed-by: Andi Kleen -Andi