Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3632799imm; Fri, 25 May 2018 08:56:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZobc5Of32rd6JbVZ7ZaxmTsIp674VKEWsoABdOgv8kR2qz75GKrUB4Sifmr+HE80fFo5sXt X-Received: by 2002:a63:69c3:: with SMTP id e186-v6mr2449016pgc.353.1527263783745; Fri, 25 May 2018 08:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527263783; cv=none; d=google.com; s=arc-20160816; b=tsl1s6HbFT19BPfvJdX7S4YLb8bSy/oD1lywj1kfbWRhaRSSgC+ph5QGj9PXPpP4vO P7ymiAWMfAEtBy6FP6ZNhKO6KvQuWTPJyOZlbnsaZzn5h5Z9e/bhuH52VmqfZwAJbTbM MKV2WJNCk85oFVXX5FaqP08TiN0RMkJMvrZh7qgtJqJl4MREAyHXc0UREpXRTVqCeJeM OVSEK6u3V78LyiReicvt1nd19GTY7P8NQ+/vaJVzLlXr+ASj9cn0gaAl+NLLRePxSikz 97HTnejSCN5CNQFq2WZtboBx+14J9dBNdMP4RcPXcwQU7EmLGXboMMP+LuHM01nPHVIs OFIw== 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:arc-authentication-results; bh=jnmSUnLH4bKCNQyK1odKZz35zKGoqJvTGKFhXilRZNc=; b=zJCzMabjIJDUBLKrpoCl7C11snNQtuDCpyqlk3hktdBMczNukZ95MybiX4VzUHK3ze 9OfOi6KehNVu6DpvR10u353G4/by/Ty+arL+Jm+oV7Vd2w5/mEhBYF7HOcehKP6UUh5v Xqn/O99NAkhuY6Gr5kLyYYxZHUMAeKQYn6X6jwVDQuYn8gGxtm4O7oMSGZ4E78GmEsXl oGCREbUKI3Y8TD2gWAKI8XNSK64eRa9kkNQWcyVW9oiMab3pQPaJYla+huxhQ0R/bGkd 1ct5uBjS7H768J+B2UoW2/HAfNMV0Uii07ZrfwJWChd6WIE5eFJaQ/EUWpEfMog+htbi DSiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fIiVR97S; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s66-v6si24520813pfj.164.2018.05.25.08.56.08; Fri, 25 May 2018 08:56:23 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=fIiVR97S; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967186AbeEYPyd (ORCPT + 99 others); Fri, 25 May 2018 11:54:33 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:39228 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966831AbeEYPya (ORCPT ); Fri, 25 May 2018 11:54:30 -0400 Received: by mail-wr0-f193.google.com with SMTP id w18-v6so10055740wrn.6 for ; Fri, 25 May 2018 08:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jnmSUnLH4bKCNQyK1odKZz35zKGoqJvTGKFhXilRZNc=; b=fIiVR97SvdxOAMcf7eV05QfR9Csn6mOH0jbcIBvzjfbz/wBkspZuYvAxaxhm2UQ/Cb S/4WZnbE9dnecUUuxyGNiwEuKsQXRC6u7f2hMLky077X3pjTT3dQjS933tSwlMjYxWt0 jnyxx9pM3q4mcYucKO5hV5Fy8guOMM4eHRI84= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jnmSUnLH4bKCNQyK1odKZz35zKGoqJvTGKFhXilRZNc=; b=cniSKoKAm4ZGu9qFtk0YmZV6RkzlUjewOJ+1KqMlD+BGHD64V2iIuYWOu0PaqgTQxB 8iNy53aIgeX5Uk+la5xkLZFsLoRJQyc5qJ7H231ts5qb1xSqaH2F4SdNjm49eMHL3nBP xh6MVBvHbxEcKlUGmvkFq/yur5xeOEpqlYUi6XcSokM3zQDOR4HnPDHvF+6iDoVjuGmF c2he3h2Lc22/G7PPQyUWjPc8JTgsEL70emLvfKm7unJ2nf7v3YMnoIYBdgRgHSovz+eV jSkq5sM0iQ7mLx2+BEQyFimhNBUxlID9Ctdi7IFMJXnmb7KypfbfZ1L3C5bA3WUKfjcv rt5g== X-Gm-Message-State: ALKqPwfZdAOnYpfyaF5XE9eZq6JaYX4TnVgVHBu2cfsDioCcAZxgsAFQ +E3SZFEZRwhREEA554ynLRzf7g== X-Received: by 2002:adf:e8c3:: with SMTP id k3-v6mr2422222wrn.182.1527263669737; Fri, 25 May 2018 08:54:29 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([45.76.138.171]) by smtp.gmail.com with ESMTPSA id o2-v6sm6576162wmo.24.2018.05.25.08.54.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 08:54:28 -0700 (PDT) Date: Fri, 25 May 2018 23:54:18 +0800 From: Leo Yan To: Arnaldo Carvalho de Melo Cc: Robert Walker , Mathieu Poirier , Jonathan Corbet , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Tor Jeremiassen , mike.leach@linaro.org, kim.phillips@arm.com, coresight@lists.linaro.org, Mike Leach Subject: Re: [RFT v2 1/4] perf cs-etm: Generate sample for missed packets Message-ID: <20180525155418.GA27273@leoy-ThinkPad-X240s> References: <1526892748-326-1-git-send-email-leo.yan@linaro.org> <1526892748-326-2-git-send-email-leo.yan@linaro.org> <20180522083920.GD31075@leoy-ThinkPad-X240s> <03a53a72-8af5-02de-21a8-fd02a0974ed6@arm.com> <20180525152713.GD4091@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180525152713.GD4091@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaldo, Rob, On Fri, May 25, 2018 at 12:27:13PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, May 25, 2018 at 03:03:47PM +0100, Robert Walker escreveu: > > Hi Leo, > > > > Following the discussions from your reply to this with a simplified patch, > > this version of the patch works better as you also need to emit a branch > > sample when handling a CS_ETM_TRACE_ON packet to indicate the end of a block > > of trace. I also will follow the suggestion as Rob mentioned in another email: "The deadbeefdeadbeef addresses are a bit ugly - these are just dummy values emitted in the decoder layer - maybe these should be changed to 0." > > This patch does not break the output from perf inject to generate > > instruction samples for AutoFDO, so I am happy with that. Thanks for confirmation. > > Regards > > > > Rob > > > > Reviewed-by: Robert Walker > > So, Leo, can you please resubmit, bumping the v2 to v3 (or the latest > one, I haven't fully reread this thread) add this "Reviewed-by: Robert" > tag and any other that people may have provided, so that I can merge it? Sure! I will respin the v3 patch series by following up Rob's suggestion and add Rob's review tag. BTW, I'd like to get ack from Mathieu as well. Mathieu is working on CPU wide tracing, so I talked with Mathieu he will review the patch series if has conflict with CPU wide tracing. [...] Thanks, Leo Yan