Hi,
The kernel support for allowing rdpmc is currently broken. Needs to be
fixed. On my list of things to do.

On Feb 22, 2010 6:53 AM, "heechul Yun" <heechul....@gmail.com> wrote:

Hi,

I tried perf_examples/self_count.c but it gave segfault in my Core2Duo with
2.6.32 kernel.
I traced the fault and it was because of "rdpmc" instruction.

Program received signal SIGSEGV, Segmentation fault.
0x08049199 in rdpmc (hdr=0xb7fdf000, value=0xbffff790) at self_count.c:79
79 asm volatile("rdpmc" : EAX_EDX_RET(val, low, high) : "c" (counter));


How can i make it work?

Best



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to