Re: [PATCH 1/2] perf record: Support per-event freq term

2015-08-10 Thread Arnaldo Carvalho de Melo
Em Sun, Aug 09, 2015 at 11:34:11AM +0200, Jiri Olsa escreveu: > On Sun, Aug 09, 2015 at 03:45:23PM +0900, Namhyung Kim wrote: > > Now perf can set per-event value of time and (sampling) period. But I > > guess most users like me just want to set frequency rather than period. > > So add the 'freq'

Re: [PATCH 1/2] perf record: Support per-event freq term

2015-08-09 Thread Jiri Olsa
On Sun, Aug 09, 2015 at 03:45:23PM +0900, Namhyung Kim wrote: > Now perf can set per-event value of time and (sampling) period. But I > guess most users like me just want to set frequency rather than period. > So add the 'freq' term in the event parser. > > Cc: Kan Liang > Signed-off-by: Namhyun

[PATCH 1/2] perf record: Support per-event freq term

2015-08-08 Thread Namhyung Kim
Now perf can set per-event value of time and (sampling) period. But I guess most users like me just want to set frequency rather than period. So add the 'freq' term in the event parser. Cc: Kan Liang Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-record.txt | 1 + tools/perf/uti