Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp169374pxa; Wed, 26 Aug 2020 07:36:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLzagvd24ls7PnmBG6Zr+exRf7NLa2EW6QT2F3miJZs3g+Y4CR0zo90+W2ra9BS5qbxxqs X-Received: by 2002:a17:906:3a02:: with SMTP id z2mr15696698eje.287.1598452619542; Wed, 26 Aug 2020 07:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598452619; cv=none; d=google.com; s=arc-20160816; b=si36F3NQ/g34q+AeXKw/O2iFpBOxPak+G9LgrQ7i+ILW577EXIOm6qslKTPfENkh1Y nUgNZ8Nz3R7lgHJZaYC3HkJ2guRYOXfFTIyjTfrREVExLtVGh5x4oYWn/O0BWB85ldUz oQK6gA49q5auIj0WcbGZ3y1i6ZsLpjEQc366iHwfm9ePbmXqpB9KzeVeu2F8BzaSZAZe ldAQxPdRaelkPrDLgXZLy550O3it5WraGml7LNkHVDgODbN/69UCWFmskIEATWO4jVS+ 3NFtC7Diujl7AmDdbvruzEx/132NfhN0MEeWManVTIPYU+2oJEdFAQJXtd5rro0KiGmE dP6A== 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:dkim-signature; bh=8VHPX0SSz8RwyuzQquZJo1iP+N4BLxDKj3ZvV5GLd14=; b=NxFaRYWbdCBBO41UMRQso8KojGHjrN9wewWseowgtlHxT/G41Ni4+PvOubYMZqcoIF Vb0g4iVzR46v4tppA41IhDxnKYL1sh5TSgluYGWQmUzVIaj1huf7Xgy5UvUHRQvHhDeR tT6tt5Lj3FdU3/XaoOwOrQq1MxJth8KYYkfasBah0jXb+cLU3EamZdK/zNqHaz0DCCuE om2MhjBgdr20Wd+HRkokPTjDysmHt2wlBT5aysUYOJ5la+9obRHWGtzKOdu5MsLw3PzW ghmvkh7oHk3rYZGOoLGI6ZHYd9OpYlDUpEdoxytkHYnUIHXVcmbB0LlmT0QXPJ1Cp5Eo uJDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="BO0m/tJp"; 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 z9si1551798edq.425.2020.08.26.07.36.37; Wed, 26 Aug 2020 07:36:59 -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="BO0m/tJp"; 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 S1727821AbgHZO0q (ORCPT + 99 others); Wed, 26 Aug 2020 10:26:46 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:56541 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727063AbgHZO0m (ORCPT ); Wed, 26 Aug 2020 10:26:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598452001; 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=8VHPX0SSz8RwyuzQquZJo1iP+N4BLxDKj3ZvV5GLd14=; b=BO0m/tJp5ge3iX10XMxGmiecZOqHXNilqz798HqeIOnFqdoJCmyw5If1poKYTT/Y5VrtHY rP785smMNftsCHwhWMoVatWZlzlhjYJc6fc9wyOQg8uDGHL49F+z5coLJW0HzdTL/Wq6Ri EUu1pR+aB10wD3YSefQWAY+EBASPfQM= 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-32-wCdJOSjFNHmm7btMpGEHQA-1; Wed, 26 Aug 2020 10:26:36 -0400 X-MC-Unique: wCdJOSjFNHmm7btMpGEHQA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 928FD8030A8; Wed, 26 Aug 2020 14:26:35 +0000 (UTC) Received: from sandy.ghostprotocols.net (unknown [10.3.128.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0CFA510021AA; Wed, 26 Aug 2020 14:26:35 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id C9729203; Wed, 26 Aug 2020 11:26:31 -0300 (BRT) Date: Wed, 26 Aug 2020 11:26:31 -0300 From: Arnaldo Carvalho de Melo To: Andi Kleen Cc: Al Grant , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, acme@kernel.org Subject: Re: [PATCH] perf: correct SNOOPX field offset Message-ID: <20200826142631.GA5351@redhat.com> References: <9974f2d0-bf7f-518e-d9f7-4520e5ff1bb0@foss.arm.com> <20200825174043.GQ1509399@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200825174043.GQ1509399@tassilo.jf.intel.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :-) - Arnaldo