Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2955369imm; Mon, 28 May 2018 20:52:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6qZdgNC5LH+6oVf3y6KHLwkIxbx2thPOSAA58uwAeV0nJYuG+iuIOiunm0KWi7PXFqFCk X-Received: by 2002:a17:902:6ac3:: with SMTP id i3-v6mr15783087plt.378.1527565960907; Mon, 28 May 2018 20:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527565960; cv=none; d=google.com; s=arc-20160816; b=fZVcAfejiQ26uks9E/xbCpYWnCUVO8VJiVNK7Z3dOFxG8Qmk8n9lBQg74tyHxbCItg puJPLC+XT2V69laq6gXMOzVSf5fxcY6W6MuDSVkYqo/v/GOSsUz4ML1G/aa7UqhcDGlw 3z6DWn4PidrfxXGKtzC49ZYQtgq7bz4trp+CmnsaZ2KrZev7M8jKvcRJHs7AwxmNCNtr tpVDXwMh61CKOxpHq/6HSmZ6L3trg9PIScRAqQqc4HNZDEbmhNOhczDY6s1YQchhIn4O 6QouRBuUaNhCUZSsVfgwFeSrrf3tiBqFMQjPgjv9T+g6dNkV8GB1c6n6cF4VtTn1Mov8 xzhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=NIwhl9n8JOzFDRVAll2yqcKjNOYZ+lYfi7rPYDJE9N8=; b=eoBsWNThufvdlsJM1DLF9gm9M4Puo29mXpelwG0QnPH6/QkuZebHoqQTB6fpm3pvUU mhaNusshDQgJNkg7KVTFX1bYqBAmIugOn3Zg1r+SGl4a/zZ5jaU7SWYXRSmiBfv+gxAI rqWwWI6fqVjtQZg6ZyX0sUJWNni1Y0o1dwtcIvCXcpi/IwaIh+50rHmjeJytb4tAKDyG vWQE8fYSC1j2UjZULwgQFF0z+U+IjJT6aqRv6EeNyYxHaL5btPpBe5/sCYUlKD0vqmkN ui+boW2bjkSHZUjAPBNg5qQcvcPT5RJm8z9YdKKavo/j+8Wc44SoLbXKO2t1Z54OxBxI JTQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IpVMJ2SO; 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 n6-v6si31643554pla.12.2018.05.28.20.52.26; Mon, 28 May 2018 20:52:40 -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=IpVMJ2SO; 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 S934420AbeE1Vxr (ORCPT + 99 others); Mon, 28 May 2018 17:53:47 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52721 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934403AbeE1Vxn (ORCPT ); Mon, 28 May 2018 17:53:43 -0400 Received: by mail-wm0-f67.google.com with SMTP id 18-v6so29642713wml.2 for ; Mon, 28 May 2018 14:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NIwhl9n8JOzFDRVAll2yqcKjNOYZ+lYfi7rPYDJE9N8=; b=IpVMJ2SOwLT4WQg79VmiZ7MsjM/79UneOPxDaiB1glDCM5mzQcYSG17nZ7K2QF2ZTK cAWMhGkSaPJ55f8nkTDtawLWYbCu3hr0rd3mkrqKp03Rb+H9qW2rhKORisZV8mOr/XBE 81vuZ5cCX8UmbaYj3tWiOOyKT2W60yIHw9YgE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NIwhl9n8JOzFDRVAll2yqcKjNOYZ+lYfi7rPYDJE9N8=; b=j8+afhjcRNmPlJYOfUx+cDr4puaQg8LhbjUh4PA85YcfKNMGxsNrI9twLVwZ+RuYMB W3FLsO4Mx1U23JJqf79SoDv8Xnt7qba9htcJz/DfqUKti24dnW8MJvbSQFt7VLIZ2rmM ZYTqHgd+IS7zaa2B1ZBZu2Hb6DhXpLRQhhCJPg/xKpyO4c/5ATpsxccCLQC5E1AaSyeU e6k5RLgwtMfanBywrx3A4yMuUI9sJNmZqb2d6DRq0X9OJ/XuamEhq0bR/oyvcGQlpCnV Mk2XmNC+QeSmWAvPUTyXlb5Xi/glpzO5MbuI7k7g9eSGt6exsnZnddmJmqt9eTlYmS9B t8tA== X-Gm-Message-State: ALKqPwdYN52l8j3GOu1wEwjfcEP0CLx/+I9ore0s0QmorkL1I33Qpa1a MWaHjEQfd8dfKfNBD2b/geZQmy/UzgWkiIqfqAdnSw== X-Received: by 2002:a50:a245:: with SMTP id 63-v6mr16596729edl.295.1527544422584; Mon, 28 May 2018 14:53:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:a4a1:0:0:0:0:0 with HTTP; Mon, 28 May 2018 14:53:42 -0700 (PDT) In-Reply-To: <20180528200326.GJ25467@kernel.org> References: <1527497103-3593-1-git-send-email-leo.yan@linaro.org> <20180528200326.GJ25467@kernel.org> From: Mathieu Poirier Date: Mon, 28 May 2018 15:53:42 -0600 Message-ID: Subject: Re: [RFT v3 0/4] Perf script: Add python script for CoreSight trace disassembler To: Arnaldo Carvalho de Melo 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Mathieu > > - Arnaldo