Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3397674imm; Tue, 29 May 2018 06:38:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo4oUi+rG0oGM3H7FVCl65rjTJrRQmYEcwOba40J0ZucrNPMSvRqowt9DrTRJr+oNhc72fz X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr17801878pli.335.1527601097718; Tue, 29 May 2018 06:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527601097; cv=none; d=google.com; s=arc-20160816; b=rPQgpFqYItzULWCJu5OE2ne4NOlHnQosxE+y+NuIO3eBYGuxXPChtZ5VUptNSwYtZD U2wY7Jf2WHot5s7lOs8mKVZmTQdiRP9qV151E8DUFUm5VFmfZze+uVmAJqNd5QJmTPw7 o5USka9h0yOlkaqFBLFeSdoIlLKe0T5d6XTuKC/IEaAcpclOsKTMD2NnA0Gk51vzaOsU AQAWw6VNy803wNDDnTxytTmIP3XkhNnIyIZzuS/txzNZUbJasTr+d35Ein6/aAP01orR cDDNwagS1kHjubhm1lJfP9+0YPQTwXoL/uA+gHtlpOjHEO0LV9yeUMUm92AcMGKNY5rY xVIQ== 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=VWZTZHs04vavfXp+g/+jCnsm7cqkqrbF3S5RGb02J18=; b=Vqj+OsELpc04NzzKu71BVZKKhlMVvlCcH+ZbI69kNlcuz4JW7qAD6RM6/I9ivz585d U5HF5H6tgiNKETjAMtMs0HuD47VQ/rLL6thOLSFwYLFLCeZJlQ5Y5E42OcmRhv/AA+g6 ytiiKJU1DoN6UAZoJPwFdXkyZ7hvoR+/opPpuz7qNyYThJbkgSMPpahkh7oxOJLOTQAm fznGozJMykU/zgsvTGvLqGbVjBAHbc8gcXeq4TodlfAKT/4PPq1OTqgzCoAls/VOYGSj ONJJTRcsnUxZnNK77xYDkef9qvh61h3DeA6Qshz5L0/OSPeDOUHtPL4LGrS7hXZDGbAX iKDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kIXS9FQ+; 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 q19-v6si7743838pls.139.2018.05.29.06.37.33; Tue, 29 May 2018 06:38:17 -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=kIXS9FQ+; 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 S934250AbeE2Nca (ORCPT + 99 others); Tue, 29 May 2018 09:32:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:55462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933444AbeE2Nc2 (ORCPT ); Tue, 29 May 2018 09:32:28 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (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 EE1A62086D; Tue, 29 May 2018 13:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527600748; bh=Vap7I5mWaw1/QfnbGDNWQRpr76t836565DTbXinNMYQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kIXS9FQ+aMzXmxpL1QVKwKvE6nBOTxBQLrj4GlXrWbcnqsYlzre+ekGU9tpSDC65b mBNN5ohtHmwaUYYrPQqHYA0+SPmUHD/dS6Kvayctxfm8KPKWN2+7owbINVSvn9IQB/ +/19kQyC1RduDUxn+dgFHIBGx/TOq0BVbjVHWU8M= Received: by jouet.infradead.org (Postfix, from userid 1000) id AFD0A1468D9; Tue, 29 May 2018 10:32:24 -0300 (-03) Date: Tue, 29 May 2018 10:32:24 -0300 From: Arnaldo Carvalho de Melo To: Mathieu Poirier Cc: Leo Yan , Jonathan Corbet , Robert Walker , Mike Leach , Kim Phillips , Tor Jeremiassen , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel , "open list:DOCUMENTATION" , Linux Kernel Mailing List , coresight@lists.linaro.org Subject: Re: [RFT v3 0/4] Perf script: Add python script for CoreSight trace disassembler Message-ID: <20180529133224.GA20886@kernel.org> References: <1527497103-3593-1-git-send-email-leo.yan@linaro.org> <20180528200326.GJ25467@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 03:53:42PM -0600, Mathieu Poirier escreveu: > On 28 May 2018 at 14:03, Arnaldo Carvalho de Melo wrote: > > 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. > > Please hold off on that Arnaldo - I'm currently reviewing the set and > I think some things can be improved. Ok, I dropped all but the one adding sample->addr to the python dictionary, that is ok to cherry pick. - Arnaldo