[perfmon2] no detected PMU support type=65

2010-02-25 Thread fabio
I am trying to perform2 on a MIPS 24k board. I have successfully built libpfm3-9 and pfmon3-9. Installed the kernel patch (perfmon-new-base-090622). While running pfmon I am getting the following message: # pfmon Algorithmics/MIPS FPU Emulator v1.5 no detected PMU support type=65 any clue ? Th

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread Phil Mucci
Hi Fabio, I did some of the MIPS support along with Vince Weaver... You may want to check the initialization code in mips/perfmon.c.. It's not be detecting your PMU properly... Phil On Feb 25, 2010, at 4:38 AM, fabio wrote: > I am trying to perform2 on a MIPS 24k board. > > I have successful

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread stephane eranian
Hi, I don't know much about MIPS perfmon support. But, as Phil suggested, I would first check that the kernel actually recognized your hardware. Make sure you have the MIPS PMU module loaded (or compiled in). You can verify by looking at /sys/kernel/perfmon/model. Alternatively, use dmesg to see i

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread fabio
Thanks for the feedback. At boot time the kernel reports: MIPS24K PMU installed however I can't see /sys/kernel/perfmon/model . # ls /sys/kernel/perfmon/* /sys/kernel/perfmon/arg_mem_max /sys/kernel/perfmon/debug /sys/kernel/perfmon/mode /sys/kernel/perfmon/reset_stats /sys/kernel/perfmon/smpl_

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread stephane eranian
On Thu, Feb 25, 2010 at 4:52 PM, fabio wrote: > Thanks for the feedback. > > At boot time the kernel reports: > > MIPS24K PMU installed > > however I can't see /sys/kernel/perfmon/model . > Ok, that was pmu_desc/model. So you have it, then it must be something wrong in the user code and in particu

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread Philip Mucci
All versions of these cores can be synthesized without the PMU. There should be code in there that inspects the register that says how many PMD's are architected... Perhaps that's returning 0? Phil On Feb 25, 2010, at 10:10 AM, stephane eranian wrote: > On Thu, Feb 25, 2010 at 4:52 PM, fabio

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread fabio
Thanks again. I will look into probably by beginning of next week and let you the outcomes. Philip Mucci wrote: > All versions of these cores can be synthesized without the PMU. There > should be code in there that inspects the register that says how many > PMD's are architected... Perhaps that

Re: [perfmon2] [PATCH] perf_events: AMD event scheduling (v2)

2010-02-25 Thread Stephane Eranian
Peter, Was the AMD Northbridge patch ever applied to tip? I don't see it in 2.6.33-rc8-tip+. -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fin

Re: [perfmon2] no detected PMU support type=65

2010-02-25 Thread Vince Weaver
The problem is that the pfmon utility itself doesn't have support for the 24k CPU (see pfmon/pfmon_mips64.c) What you can do is in pfmon/pfmon_mips64.c, cut and paste the 20kc code, then change the occurances of 20kc to 24k. Then in pfmon/pfmon.c find the code block #ifdef CONFIG_PFMON_MIPS64 a