From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934282AbeE2Ncb (ORCPT ); Tue, 29 May 2018 09:32:31 -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 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 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