Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3877790pxu; Tue, 20 Oct 2020 02:56:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnp3ydkSqPqNgtDy5K0dj7r2+iCtVcUDAAKBIj6Ct+7erSDyFj4m5DvuPr9E3iMLw+i+tN X-Received: by 2002:a50:d7d8:: with SMTP id m24mr1870295edj.388.1603187765324; Tue, 20 Oct 2020 02:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603187765; cv=none; d=google.com; s=arc-20160816; b=d0vTTdCWPYUAHgDHaEfsCdxbGfth5/0yhD4GVNSqS5OdKqVD0IFDHfTLT9x8gDNBp7 mBzB7XePscAwzbQ/8YanBQVVREesbZmCZlAMfGVM4T5lPWrLrstKGHBzvxg9EWa/CSud JIXTez0Y82VwN0Z2ziWpRrv+AKRTw9qEont9VViB48fAwZRAbrmuVlvI2YUnnxhdCX7x 50Z1g7AWOQzskdWxZ9JAr6+AgYCEtcoh7NvPitxVLCEc9HGm6JkKtVugW7Rx9HdvJ128 wzOnsoEN30999DmM+fwj7gzmIae1wI/Dk+wwigCNx4HcFSGXtlpuKRrXfKhPM/AGZGgd AtIw== 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:dkim-signature; bh=JXfk9bvQNtcUwvRwOlj5eknnkdmx+lgFsSH9b/xK0bg=; b=dFV52PM8Vj629erYBiQmQsNAESaTi3m792eroIbTjnFKGfQAqbCECwnvjnnZH6Im2G VnMVyM9ZJ1BMRWrcUikrRnJgk8dvaChR76+tqyPGi3i2s+jCNNFv/65DAEoxyr+UAJgF Ws+aDMmXJjUwjAINsdh1z/nrlxdTbjZ9VFI5j3RbjtznN/qocacx6XXLsgeN71RPCDDa sIzibx+zbZX1MIX/aiGQ8/MKjfeWh5Fe0Ii2C90x775gdx9qW1PxDqtMXxh+aSgRYywf iPc92nwlEU4jvkrjQ9WC6foR/DfocrAUmkOfH9FJMdPOq8+wV/3I7aCQ1gJ1RBKrdBKN 6RAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XfQiGV3s; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z24si765836edl.8.2020.10.20.02.55.42; Tue, 20 Oct 2020 02:56:05 -0700 (PDT) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XfQiGV3s; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731310AbgJTH1I (ORCPT + 99 others); Tue, 20 Oct 2020 03:27:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:26512 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731189AbgJTH1H (ORCPT ); Tue, 20 Oct 2020 03:27:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603178826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JXfk9bvQNtcUwvRwOlj5eknnkdmx+lgFsSH9b/xK0bg=; b=XfQiGV3spMGDOo3lYcNH5Q1E50ZMUHXmxS/HIPARBnRDOedouXh/+s0E+oegr3xwrroYry NmGc6m4cKHkQGtFNY9mOoWb2KMRFH8bLjDb62cI9gFu4YHZBe7ATkDuFiQcqMicgL7AL9/ WZx6o/sDOfXTFJKZfM3DX0N7E2T0ZdI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-178-V3yXrWZUN4GIRsEVg1KYVw-1; Tue, 20 Oct 2020 03:27:04 -0400 X-MC-Unique: V3yXrWZUN4GIRsEVg1KYVw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4DA2E8030C4; Tue, 20 Oct 2020 07:27:02 +0000 (UTC) Received: from krava (unknown [10.40.192.162]) by smtp.corp.redhat.com (Postfix) with SMTP id 94FD75D9D2; Tue, 20 Oct 2020 07:26:58 +0000 (UTC) Date: Tue, 20 Oct 2020 09:26:57 +0200 From: Jiri Olsa To: Leo Yan Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Namhyung Kim , Kan Liang , Andi Kleen , Ian Rogers , Joe Mario , David Ahern , Don Zickus , Al Grant , James Clark , linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 8/8] perf c2c: Update documentation for display option 'llc' Message-ID: <20201020072657.GE2084117@krava> References: <20201015145041.10953-1-leo.yan@linaro.org> <20201015145041.10953-9-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201015145041.10953-9-leo.yan@linaro.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 15, 2020 at 03:50:41PM +0100, Leo Yan wrote: > Since the new display option 'llc' is introduced, this patch is to > update the documentation to reflect it. > > Signed-off-by: Leo Yan > --- > tools/perf/Documentation/perf-c2c.txt | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > > diff --git a/tools/perf/Documentation/perf-c2c.txt b/tools/perf/Documentation/perf-c2c.txt > index c81d72e3eecf..eadce62ecd28 100644 > --- a/tools/perf/Documentation/perf-c2c.txt > +++ b/tools/perf/Documentation/perf-c2c.txt > @@ -109,7 +109,8 @@ REPORT OPTIONS > > -d:: > --display:: > - Switch to HITM type (rmt, lcl) to display and sort on. Total HITMs as default. > + Switch to HITM type (rmt, lcl) or LLC load access (llc) to display > + and sort on. Total HITMs as default. ok, forget the doc update I asked in previous reply ;-) thanks, jirka > > --stitch-lbr:: > Show callgraph with stitched LBRs, which may have more complete > @@ -174,12 +175,18 @@ For each cacheline in the 1) list we display following data: > Cacheline > - cacheline address (hex number) > > - Rmt/Lcl Hitm > + Rmt/Lcl Hitm (For display with HITM types) > - cacheline percentage of all Remote/Local HITM accesses > > - LLC Load Hitm - Total, LclHitm, RmtHitm > + LLC Load Hitm - Total, LclHitm, RmtHitm (For display with HITM types) > - count of Total/Local/Remote load HITMs > > + LLC Hit Pct (For display 'llc') > + - cacheline percentage of all LLC load accesses > + > + LLC Hit Total (For display 'llc') > + - sum of all LLC load accesses > + > Total records > - sum of all cachelines accesses > > @@ -207,9 +214,12 @@ For each cacheline in the 1) list we display following data: > > For each offset in the 2) list we display following data: > > - HITM - Rmt, Lcl > + HITM - Rmt, Lcl (For display with HITM types) > - % of Remote/Local HITM accesses for given offset within cacheline > > + LLC LD - LclHit, LclHitm (For display 'llc') > + - % of LLC hits and LLC HITMs accesses for given offset within cacheline > + > Store Refs - L1 Hit, L1 Miss > - % of store accesses that hit/missed L1 for given offset within cacheline > > -- > 2.17.1 >