Re: [perfmon2] [PATCH] Handle API changes for python

2011-02-19 Thread stephane eranian
Arun, Problem fixed. Thanks. On Sat, Feb 19, 2011 at 12:49 AM, Arun Sharma wrote: > > BTW, pfm_for_each_event() still refers to the obsolete/unimplemented > pfm_get_event_first(). We should either fix up the macro or kill it > completely. > >  -Arun > > -

[perfmon2] syst_smpl of perf_example program can not attach events

2011-02-19 Thread explore_zjx
Hello, everyone: My platform is intel westmere (single socket) . The cpu is core i3. the OS kernel is linux 2.6.31. However, I encounter the following errors when I run the syst_smpl program, the error is : syst_smpl: can not attach the events PERF_COUNT_HW_CPU_CYCLES: invalid parameter