[perfmon2] about libpfm4 example:self_count.c

2011-11-18 Thread explore_zjx
Hello,everyone! I installed libpfm4 on my platform. The cpu is Q6600 and the OS is RHEL with 2.6.34 kernel. I hit seg faults trying to run perf_examples/self_count.c in libpfm4, and all Google can find is that kernel support for user-level rdpmc was missing. To enable the rdpmc instrc

Re: [perfmon2] about libpfm4 example:self_count.c

2011-11-18 Thread stephane eranian
The self-count example does not work. The support for remapped counter does not quite work on X86. There is more than CR4 to fix. 2011/11/18 explore_zjx : > Hello,everyone! >     I installed libpfm4 on my platform. The cpu is Q6600 and the OS is RHEL > with 2.6.34 kernel. >     I hit seg faults tr