Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758520Ab1F1PWW (ORCPT ); Tue, 28 Jun 2011 11:22:22 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:46145 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758397Ab1F1PV1 (ORCPT ); Tue, 28 Jun 2011 11:21:27 -0400 Message-ID: <4E09F173.2060508@gmail.com> Date: Tue, 28 Jun 2011 09:21:23 -0600 From: David Ahern User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Akihiro Nagai CC: Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , linux-kernel@vger.kernel.org, Masami Hiramatsu , pp-manager@sdl.hitachi.co.jp Subject: Re: [PATCH -tip 0/4] perf script: add BTS analysis features References: <20110628074019.4269.32109.stgit@linux3> In-Reply-To: <20110628074019.4269.32109.stgit@linux3> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 908 Lines: 24 On 06/28/2011 01:40 AM, Akihiro Nagai wrote: > BTW, I couldn't run a script generated by 'perf script -g {pyton|perl}' > with branch events. How do I make scripts analyzing branch events? > > # perf record -e branches:u -c 1 -d ls > # perf script -g python > # perf script -s perf-script.py > in trace_begin > Fatal: no event_list! > # perf script -g perl > # perf script -s perf-script.pl > Fatal: no event_list! Generated scripts currently only work on trace events. At this point it is arguable that perf-script should be focused on the python and perl scripts and the code for dumping the events should be moved to a new command (perf-dump?). David -- 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/