[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E09F173.2060508@gmail.com>
Date: Tue, 28 Jun 2011 09:21:23 -0600
From: David Ahern <dsahern@...il.com>
To: Akihiro Nagai <akihiro.nagai.hw@...achi.com>
CC: Arnaldo Carvalho de Melo <acme@...radead.org>,
Ingo Molnar <mingo@...e.hu>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>,
linux-kernel@...r.kernel.org,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
pp-manager@....hitachi.co.jp
Subject: Re: [PATCH -tip 0/4] perf script: add BTS analysis features
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists