2011/2/22 explore_zjx <explore_...@126.com>: > 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 > parameters. > The task_smpl program is the same error as the syst_smpl. > The errors was occured at the call point of the function of > perf_event_open() in setup_cup().. > I found that the error occures due to the statement > “fds[i].hw.watermark = 1;", The error disappeared > when the statement was commented. > I want to know the reason of the errors. Anyone can response me ? > However, the same version of libpfm4. I test it on another platform, > which is Quad-Core AMD Opteron(tm) Processor 2378. The OS is linux > AS5(2.6.34). libpfm4 works properly. > how about your suggestion?
Yes, try 2.6.34 on your Westmere system. > Thanks in advance! > Jason > 2011/2/22 > > > > > > > > > > > > ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel