Messages in this thread | | | Date | Thu, 25 Nov 2010 09:10:11 +0100 | From | Frederic Weisbecker <> | Subject | Re: [RFC PATCHv3] perf tools: add event grouping capability to "perf stat" |
| |
On Thu, Nov 25, 2010 at 09:00:09AM +0100, Peter Zijlstra wrote: > On Thu, 2010-11-25 at 08:46 +0100, Frederic Weisbecker wrote: > > > perf record -e task-clock:freq=1000,cycles:period=0 > > > > Wouldn't this syntax clash with the flags we have on events already? > > > > the u,k,p flags? > > From stephane's email (to which you were CC'ed) http://lkml.org/lkml/2010/11/23/303
Right, I'm going look at this.
> > $ perf record -e cycles:u:period=100000,instructions:k:freq=1500 -a -- sleep 5 > > The parser isn't particularly pretty, maybe its time to think about a parser generator?
May be yeah.
| |