Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp171150pxa; Wed, 26 Aug 2020 07:39:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYqFDDsDulChMGVhhOZpNX8Yb73whOT7KN52XFz5bn+QevXsdLSv9C0L1qJcewu9cwGhsD X-Received: by 2002:a17:906:bcd4:: with SMTP id lw20mr11125391ejb.499.1598452781338; Wed, 26 Aug 2020 07:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452781; cv=none; d=google.com; s=arc-20160816; b=OH7NIA8wmMHw1MIwIk4qcK9DIRdq7zjGxAVEAoSS1xJha8DW5teb6E7X0q68bWWdrK PjhPMRqBEwZQHFiOzwl5yWcsyzJ2BA1Mg2UweUDEdR5aGG2LyCeCyRjOZwN41OxI5u22 L5A0nXK/7d5QV9+rk8QxeGuhTviv/bri6MFPxqb2BSbXFF1wG/RzDx3joe7sAVNfxnW5 /AlWamfxY/IksDxIl23pawpHzFcqrMSGRdG8NttggWkXOMPPNI/9Iglu6rDo3T44QqIA uXDSGhl2GqsiEzcOjadRUVy27iKVVVyn4qSSotLDeZJQwFLwIkxX8uB40AUubq19Fa98 OLWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=jchZ8YeifoywPsI2YsB5J0NFnkri6vqQNpl1iSWOV5c=; b=me8VSpX57E+bk0BNk4P3y9Kxjh5wD8XcqIbVSaPw6VB0p89c4AGCUW51tHmB4Jx2iy 8yZ5IkFBmauFyRgrDjccdERPHhASA0uNNnCMx9k/dJ+iNLOe7J2XZnu3cCwiNgdZRK+I qOWbuS6RAcVkKh3q7k/teKl37MHGNpXLAYLPLOFS3fL7IpLG220c/m4yMTR1JdnX+dIA +WQAWoYAi0CAAeQZeXjdphjMZK0kRx2FKodrVZWIJkrBdxoicMHnc0b3Tdvj9pxiEJRn +Dp9Be6yqjyEfFamxsaGuNFKETkEZ5PdwjQ5fowz6IrQ8sdBfQvlStpnqn+N1iwsiI2u hA9w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gy25si1787036ejb.492.2020.08.26.07.39.19; Wed, 26 Aug 2020 07:39:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbgHZOeU (ORCPT + 99 others); Wed, 26 Aug 2020 10:34:20 -0400 Received: from foss.arm.com ([217.140.110.172]:47046 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727823AbgHZOdq (ORCPT ); Wed, 26 Aug 2020 10:33:46 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2F8181FB; Wed, 26 Aug 2020 07:33:37 -0700 (PDT) Received: from [10.57.5.66] (unknown [10.57.5.66]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4136E3F68F; Wed, 26 Aug 2020 07:33:36 -0700 (PDT) Subject: Re: [PATCH] perf: correct SNOOPX field offset To: Arnaldo Carvalho de Melo , Andi Kleen Cc: linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, acme@kernel.org References: <9974f2d0-bf7f-518e-d9f7-4520e5ff1bb0@foss.arm.com> <20200825174043.GQ1509399@tassilo.jf.intel.com> <20200826142631.GA5351@redhat.com> From: Al Grant Message-ID: Date: Wed, 26 Aug 2020 15:33:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <20200826142631.GA5351@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/08/2020 15:26, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 25, 2020 at 10:40:43AM -0700, Andi Kleen escreveu: >> On Mon, Aug 24, 2020 at 10:28:34AM +0100, Al Grant wrote: >>> perf_event.h has macros that define the field offsets in the >>> data_src bitmask in perf records. The SNOOPX and REMOTE offsets >>> were both 37. These are distinct fields, and the bitfield layout >>> in perf_mem_data_src confirms that SNOOPX should be at offset 38. >> >> Looks good. >> >> Reviewed-by: Andi Kleen >> >> Probably should have a Fixes: header > > Please do so, find the patch that introduced the error, add the Fixes > tag, will help me not having to do it myself :-) Fixes: 52839e653b562 ("perf tools: Add support for printing new mem_info encodings")