Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754969AbbLWQ3r (ORCPT ); Wed, 23 Dec 2015 11:29:47 -0500 Received: from mail-ob0-f179.google.com ([209.85.214.179]:36604 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751766AbbLWQ3n (ORCPT ); Wed, 23 Dec 2015 11:29:43 -0500 MIME-Version: 1.0 In-Reply-To: <20151219174231.GD2437@debian> References: <1450472361-426-1-git-send-email-mathieu.poirier@linaro.org> <20151219174231.GD2437@debian> Date: Wed, 23 Dec 2015 09:29:43 -0700 Message-ID: Subject: Re: [PATCH V7 00/24] Coresight integration with perf From: Mathieu Poirier To: Rabin Vincent Cc: Greg KH , Alexander Shishkin , Chunyan Zhang , Mike Leach , "Jeremiassen, Tor" , Al Grant , fainelli@broadcom.com, "linux-arm-kernel@lists.infradead.org" , linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1342 Lines: 31 On 19 December 2015 at 10:42, Rabin Vincent wrote: > On Fri, Dec 18, 2015 at 01:58:56PM -0700, Mathieu Poirier wrote: >> This patchset aims to integrate configuration and control of >> the Coresight tracers with the perf sub-system. >> >> The goal is to use PMUs to represent tracers and the auxiliary >> buffer enhancement to collect processor traces. As such a lot >> of work is done to move the current Coresight sysFS oriented >> configuration and control commands to perf's AUX API. > > These patches allow the trace to be recorded with perf, but what do you > use to actually get something useful out of the resulting perf.data? > AFAICS it can't be processed by perf script or the other perf tools. You are correct. The team is working on a trace decoder that will be embedded in the perf tool suite. > > # echo 1 > /sys/bus/coresight/devices/54162000.etb/enable_sink > > # perf record -e cs_etm// true > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.032 MB perf.data ] > > # perf script > 0x188 [0x80]: failed to process type: 70 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/