Greetings, perfmon2 list. I just compiled a Linux 2.6.28.1 kernel after applying the perfmon-new-base-090219 patch. I'm using a free rebuild of RHEL 5.3.
I compiled the kernel with 'make rpm' and then installed the new kernel on a couple of machines. I compiled/installed both libpfm-3.8 and pfmon-3.8 from the latest stabel downloads. When I run pfmon, I get this error: cannot initialize library. Most likely host PMU is not supported. Any ideas what's causing this? Helpful information: I compiled on a 64-bit system, and the rpm has "x86_64" in the name, but the kernel modules for perfmon are in /lib/modules/2.6.28-perfmon2/kernel/arch/x86: ls -c1 /lib/modules/2.6.28-perfmon2/kernel/arch/x86/perfmon/ perfmon_amd64.ko perfmon_intel_arch.ko perfmon_intel_atom.ko perfmon_intel_core.ko perfmon_intel_nhm.ko perfmon_p4.ko perfmon_pebs_core_smpl.ko perfmon_pebs_p4_smpl.ko Is that normal for a 64-bit system? Am I missing any modules? I search the list archive for how to debug this. The following command provides no output: /usr/local/bin64/pfdbg --on --printk /sys/kernel/perfmon exists, and has these contents: ls -c1 /sys/kernel/perfmon/ pmu_desc arg_mem_max debug formats mode reset_stats smpl_buffer_mem_cur smpl_buffer_mem_max syscall sys_group sys_sessions_count task_group task_sessions_count version cat /sys/kernel/perfmon/version 2.82 cat /sys/kernel/perfmon/pmu_desc/model AMD64 cat /sys/kernel/perfmon/mode 0 cat /sys/kernel/perfmon/debug 1 The system in question is a Dell SC1435 with AMD Opteron Barcelona processors. Here is /cat/proc/cpuinfo for one of the cores: cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 2356 stepping : 3 cpu MHz : 1150.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni monitor cx16 lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs bogomips : 4588.11 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate -- Prentice ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel