Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757743AbdCUOLE (ORCPT ); Tue, 21 Mar 2017 10:11:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41720 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757182AbdCUOLD (ORCPT ); Tue, 21 Mar 2017 10:11:03 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com F0C65C208089 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=acme@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com F0C65C208089 Date: Tue, 21 Mar 2017 11:10:49 -0300 From: Arnaldo Carvalho de Melo To: Ravi Bangoria Cc: Masami Hiramatsu , alexis.berlemont@gmail.com, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, mpe@ellerman.id.au, naveen.n.rao@linux.vnet.ibm.com, maddy@linux.vnet.ibm.com Subject: Re: [PATCH 3/5] perf/sdt/x86: Move OP parser to tools/perf/arch/x86/ Message-ID: <20170321141049.GC2531@redhat.com> References: <20161214000732.1710-1-alexis.berlemont@gmail.com> <20170202111143.14319-1-ravi.bangoria@linux.vnet.ibm.com> <20170202111143.14319-4-ravi.bangoria@linux.vnet.ibm.com> <20170207121105.c16c1bded3f24c798eac318a@kernel.org> <58995989.9020202@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58995989.9020202@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 21 Mar 2017 14:10:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1045 Lines: 24 Em Tue, Feb 07, 2017 at 10:52:17AM +0530, Ravi Bangoria escreveu: > Thanks Masami for the review. > > On Tuesday 07 February 2017 08:41 AM, Masami Hiramatsu wrote: > > On Thu, 2 Feb 2017 16:41:41 +0530 > > Ravi Bangoria wrote: > > > >> SDT marker argument is in N@OP format. N is the size of argument and > >> OP is the actual assembly operand. OP is arch dependent component and > >> hence it's parsing logic also should be placed under tools/perf/arch/. > >> > > Ok, I have one question. Is there any possibility that N is different > > size of OP? e.g. 8@dil, in this case we will record whole rdi. > > is that OK? > > By looking at list of markers on my x86 Fedora25 box, yes, it's possible > for case when register size used in OP is more than size specified by N. > For example, -4@68(%rbx). But I don't see any argument which specifies > higher size in N compared to size of register in OP, like you mentioned > in your example. Masami, can I have your Acked-by for 3-5/5 in this series? - Arnaldo