Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2954669imm; Mon, 28 May 2018 20:51:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqru1CXR4QduiUCOnKDm/2UVqz0+/KhpWqNCOf+KWq+7yoB0Pho0lKzHX2We3XsMGrWXW5F X-Received: by 2002:a62:b909:: with SMTP id z9-v6mr15902954pfe.254.1527565894531; Mon, 28 May 2018 20:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527565894; cv=none; d=google.com; s=arc-20160816; b=an8eangIWVHhsunxhNawPgunZrc5L1t92+yB5ZnYAyCXcI60JeU1QClWKd7QNvkLLh I3ZaNlS7CxgV2W8zGnm86YpcRzw9vAJCsCxmwqO20faziPZzjvRK84JlL6Us4UeEvmfJ +kP+6M+CsdcrdBJwON4/68HWmwIisbRSA24Dtwj1CjMiZ4VaHafECqNggQii5OqFp95l 0jBSiSo3cyJEP7VvLWSbRuJOBfSYn7S2anOjsY3c2i00W3GjO9YBkDNRyvhLB6DrVTpA 3kHplYgO5bd6pY7YG3BGmJnBB9vLVPt3O3UcfZqzyYhLIyzTuWKWW/XVF0B0ara0MuJw LrIw== 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=G1UofJIQb1Jr78yS9f+fk2euxc4Jc9g3v5yOSteoJmo=; b=nTYPtPGDjSI8OsWmhVZDKAg/2/mI27sEG9tylFLG1EynCoiziY1alS1pSLhkOjtPjh 1l0/o9nbmkQ7gx3eqtqN5/1mU79jfj98ps3HdEZ3yXaZ1Jg6oaFSkhNE7uSl9XVfWyIN b6bm8nhXs5UWWnJkAL2QprKOGPxnVtvXrjvmLkUNhy91EVPGQG/wEHRC4ad3aIk8ZeNT iy+Nd+go6Ci2fxaqyGXjisqQ2XNtIAgXGtLxg6Gx0Owwme8XUyeEKATIolK1ByJNbiAO hTwT/dSOCoUw8wRKLTF1vsq2FA5lXvKPZQG85JChZc3kivtRhNXwlWeSV38MpKxOsfDo 6stQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BG66xgIL; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15-v6si30595741plr.365.2018.05.28.20.51.19; Mon, 28 May 2018 20:51:34 -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=@kernel.org header.s=default header.b=BG66xgIL; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933785AbeE1UDb (ORCPT + 99 others); Mon, 28 May 2018 16:03:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:46248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933699AbeE1UD3 (ORCPT ); Mon, 28 May 2018 16:03:29 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7820B20845; Mon, 28 May 2018 20:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527537808; bh=3F55CR9AjPS6jCIr6vzfCX5elpvN6zQ7fVDlAvgqmrM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BG66xgILO/9K/r9QeZ/08idAIQG90TFZSLg6K6TF42a/Ye5xz4BRmZ/Qb0BRYtrIM XkyJfS2e+cv4fGJbq79wVbD3SY2MRFLb631ho+O7JBkZfBqSD+noiVgMlkoP/JhhZ/ scL1t7iXCGvYf8vdyqU2dYrC/gBLM0061zs0C6y8= Received: by jouet.infradead.org (Postfix, from userid 1000) id 414591468D9; Mon, 28 May 2018 17:03:26 -0300 (-03) Date: Mon, 28 May 2018 17:03:26 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: Mathieu Poirier , Jonathan Corbet , Robert Walker , mike.leach@linaro.org, kim.phillips@arm.co, Tor Jeremiassen , 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, coresight@lists.linaro.org Subject: Re: [RFT v3 0/4] Perf script: Add python script for CoreSight trace disassembler Message-ID: <20180528200326.GJ25467@kernel.org> References: <1527497103-3593-1-git-send-email-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527497103-3593-1-git-send-email-leo.yan@linaro.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, May 28, 2018 at 04:44:59PM +0800, Leo Yan escreveu: > This patch series is to support for using 'perf script' for CoreSight > trace disassembler, for this purpose this patch series adds a new > python script to parse CoreSight tracing event and use command 'objdump' > for disassembled lines, finally this can generate readable program > execution flow for reviewing tracing data. > > Patch 0001 is one fixing patch to generate samples for the start packet > and exception packets. > > Patch 0002 is the prerequisite to add addr into sample dict, so this > value can be used by python script to analyze instruction range. > > Patch 0003 is to add python script for trace disassembler. > > Patch 0004 is to add doc to explain python script usage and give > example for it. > > This patch series has been rebased on acme git tree [1] with the commit > 19422a9f2a3b ("perf tools: Fix kernel_start for PTI on x86") and tested > on Hikey (ARM64 octa CA53 cores). Thanks, applied to perf/core. - Arnaldo