Messages in this thread | | | Subject | Re: [RFC PATCHv3] perf tools: add event grouping capability to "perf stat" | From | Peter Zijlstra <> | Date | Thu, 25 Nov 2010 09:00:09 +0100 |
| |
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
> $ 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?
| |